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 67d1a32 commit 45bbf0cCopy full SHA for 45bbf0c
init-plain/usr/local/bin/entrypoint.sh
@@ -12,7 +12,7 @@ done
12
13
if [ "X${ENTRY_USER}" != "X" ];then
14
echo "> execute CMD as user '${ENTRY_USER}'"
15
- exec su -s /bin/bash -c "$@" ${ENTRY_USER}
+ exec gosu ${ENTRY_USER} /bin/bash -c "$@"
16
else
17
echo "> execute CMD '$@'"
18
exec "$@"
0 commit comments