summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoozbeh Farahbod <roozbeh@GreySlate.local>2018-12-04 13:07:19 +0100
committerRoozbeh Farahbod <roozbeh@GreySlate.local>2018-12-04 13:07:19 +0100
commit67ab6371e69fbf137b95fd03105902206faabdac (patch)
tree79d48b357a476e8b8f31663a44811527f9eeff71
parent7bd41cbf88af87a31ad1943f58c5f7f8295d956b (diff)
downloadgitlab-67ab6371e69fbf137b95fd03105902206faabdac.tar.gz
fix: docker entry point argument passing
Fixes the problem of passing spaces in the arguments to the docker entrypoint. Before this fix, there was virtually no way to pass spaces in arguments such as task description.
-rwxr-xr-xdocker-entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
index 6422ad0..bda8141 100755
--- a/docker-entrypoint.sh
+++ b/docker-entrypoint.sh
@@ -18,4 +18,4 @@ http_username = ${GITLAB_HTTP_USERNAME}
http_password = ${GITLAB_HTTP_PASSWORD}
EOF
-exec gitlab --config-file "${GITLAB_CFG}" $@
+exec gitlab --config-file "${GITLAB_CFG}" "$@"