We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1515f4c commit 446dbbfCopy full SHA for 446dbbf
docker/main/entrypoint.sh
@@ -48,7 +48,7 @@ case "$1" in
48
cli)
49
if [ -n "${CLI_SCRIPT}" ]; then
50
shift
51
- exec sudo -E -u "${CLI_USER}" ${CLI_SCRIPT} "$@"
+ exec sudo -H -E -u "${CLI_USER}" ${CLI_SCRIPT} "$@"
52
else
53
echo "[ERROR] No CLI_SCRIPT in docker-env.yml defined"
54
exit 1
@@ -57,9 +57,7 @@ case "$1" in
57
58
## All other commands
59
*)
60
- ## Set home dir (workaround)
61
- export HOME=/home/
62
## Execute cmd
63
- exec sudo -E -u "${CLI_USER}" "$@"
+ exec sudo -H -E -u "${CLI_USER}" "$@"
64
;;
65
esac
0 commit comments