mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
Merge pull request #8114 from dokku/8052-run-exec
Ensure we can execute run commands when exec is executed as part of an entrypoint
This commit is contained in:
@@ -109,7 +109,8 @@ trigger-scheduler-docker-local-scheduler-run() {
|
||||
if [[ -n "$PROC_CMD" ]]; then
|
||||
dokku_log_info1_quiet "Found '$POTENTIAL_PROCFILE_KEY' in Procfile, running that command"
|
||||
DOCKER_ARGS+=" --label=com.dokku.process-type=$POTENTIAL_PROCFILE_KEY"
|
||||
set -- "$PROC_CMD" "${@:2}"
|
||||
read -ra proc_array <<<"$PROC_CMD"
|
||||
set -- "${proc_array[@]}" "${@:2}"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user