File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -106,14 +106,14 @@ done
106106# End parse options
107107
108108DOCKER_RUN_OPTS=()
109- DOCKER_RUN_OPTS+=(-v ${DIST_DIR} :/alterlinux/out)
110- DOCKER_RUN_OPTS+=(-v /usr/lib/modules:/usr/lib/modules:ro)
109+ DOCKER_RUN_OPTS+=(-v " ${DIST_DIR} :/alterlinux/out" )
110+ DOCKER_RUN_OPTS+=(-v " /usr/lib/modules:/usr/lib/modules:ro" )
111111[[ " x${NO_SHARE_PKG} " != " xTrue" ]] && {
112- DOCKER_RUN_OPTS+=(-v ${SHARE_PKG_DIR} :/var/cache/pacman/pkg)
113- DOCKER_RUN_OPTS+=(-v ${SHARE_DB_DIR} :/var/lib/pacman/sync)
112+ DOCKER_RUN_OPTS+=(-v " ${SHARE_PKG_DIR} :/var/cache/pacman/pkg" )
113+ DOCKER_RUN_OPTS+=(-v " ${SHARE_DB_DIR} :/var/lib/pacman/sync" )
114114}
115115
116116tty > /dev/null 2>&1 && OPT_TTY=" -it" || OPT_TTY=" "
117117
118- docker build ${DOCKER_BUILD_OPTS[@]} -t alterlinux-build:latest ${script_path}
119- exec docker run --rm ${OPT_TTY} --privileged -e _DOCKER=true ${DOCKER_RUN_OPTS[@]} alterlinux-build ${BUILD_SCRIPT_OPTS[@]}
118+ docker build " ${DOCKER_BUILD_OPTS[@]} " -t alterlinux-build:latest ${script_path}
119+ exec docker run --rm ${OPT_TTY} --privileged -e _DOCKER=true " ${DOCKER_RUN_OPTS[@]} " alterlinux-build " ${BUILD_SCRIPT_OPTS[@]} "
You can’t perform that action at this time.
0 commit comments