Skip to content

Commit 209f29f

Browse files
committed
Fix quoting issue docker commit opts #160
1 parent 811049d commit 209f29f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

engine/docker.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ function build_image() {
229229
_container_mount_portage='false'
230230

231231
_status_msg="commit ${run_id} as image ${_current_namespace}/${builder_commit_id}:${IMAGE_TAG}"
232-
pwrap 'nolog' "${DOCKER}" commit "${DOCKER_COMMIT_OPTS}" "${run_id}" "${_current_namespace}/${builder_commit_id}:${IMAGE_TAG}" \
232+
# shellcheck disable=SC2086
233+
pwrap 'nolog' "${DOCKER}" commit ${DOCKER_COMMIT_OPTS} "${run_id}" "${_current_namespace}/${builder_commit_id}:${IMAGE_TAG}" \
233234
|| die "${_status_msg}"
234235

235236
_status_msg="remove container ${run_id}"

0 commit comments

Comments
 (0)