Skip to content

Commit 33d5bee

Browse files
committed
fix: correct shellcheck errors
1 parent b2cdb89 commit 33d5bee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

builder-create-dokku-image

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ hook-apt-builder-create-dokku-image() {
3434

3535
dokku_log_info1 "Creating extended app image with custom system packages"
3636
pushd "$TMP_WORK_DIR" >/dev/null
37+
# shellcheck disable=SC2086
3738
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")
3839
popd >/dev/null
3940
if test "$("$DOCKER_BIN" container wait "$CID")" -ne 0; then
@@ -51,6 +52,7 @@ hook-apt-builder-create-dokku-image() {
5152

5253
COMMAND="$(fn-apt-command "$APP" "$DOKKU_IMAGE" "/tmp/apt")"
5354
DOCKER_RUN_LABEL_ARGS="--label=com.dokku.app-name=$APP"
55+
# shellcheck disable=SC2086
5456
CID=$("$DOCKER_BIN" container run "${DOCKER_RUN_LABEL_ARGS[@]}" $DOKKU_GLOBAL_RUN_ARGS -d "${ARG_ARRAY[@]}" "$IMAGE:apt" /bin/bash -e -c "$COMMAND")
5557

5658
"$DOCKER_BIN" container attach "$CID"

0 commit comments

Comments
 (0)