Skip to content

Commit 88c63dc

Browse files
authored
Entrypoint.sh: use common way to execute argument given
This fixes issue #8 (#8 ), where the previous way resulted in a failure with gitlab's CI. (see e.g. https://gitlab.com/gitlab-org/gitlab-runner/issues/1253)
1 parent c9f888e commit 88c63dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ if [ "${USER_ID}" -ne "0" ]; then
1212

1313
/usr/local/bin/gosu ${USER_NAME} /bin/bash -c "${CMD}"
1414
else
15-
/bin/bash -c "${CMD}"
15+
exec "$@"
1616
fi

0 commit comments

Comments
 (0)