File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ hook-apt-builder-create-dokku-image() {
34
34
35
35
dokku_log_info1 " Creating extended app image with custom system packages"
36
36
pushd " $TMP_WORK_DIR " > /dev/null
37
+ # shellcheck disable=SC2086
37
38
CID=$( tar -c . | " $DOCKER_BIN " container run " ${DOCKER_RUN_LABEL_ARGS[@]} " $DOKKU_GLOBAL_RUN_ARGS -i -a stdin " $DOKKU_IMAGE " /bin/bash -c " mkdir -p /tmp/apt && tar -xC /tmp/apt" )
38
39
popd > /dev/null
39
40
if test " $( " $DOCKER_BIN " container wait " $CID " ) " -ne 0; then
@@ -51,6 +52,7 @@ hook-apt-builder-create-dokku-image() {
51
52
52
53
COMMAND=" $( fn-apt-command " $APP " " $DOKKU_IMAGE " " /tmp/apt" ) "
53
54
DOCKER_RUN_LABEL_ARGS=" --label=com.dokku.app-name=$APP "
55
+ # shellcheck disable=SC2086
54
56
CID=$( " $DOCKER_BIN " container run " ${DOCKER_RUN_LABEL_ARGS[@]} " $DOKKU_GLOBAL_RUN_ARGS -d " ${ARG_ARRAY[@]} " " $IMAGE :apt" /bin/bash -e -c " $COMMAND " )
55
57
56
58
" $DOCKER_BIN " container attach " $CID "
You can’t perform that action at this time.
0 commit comments