Merge pull request #260 from darfux/pass_debug_to_docker

builder: Pass the DEBUG flag when using docker
This commit is contained in:
Julio Montes
2019-03-25 07:25:12 -06:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -117,6 +117,7 @@ if [ -n "${USE_DOCKER}" ] ; then
--env IMG_SIZE="${IMG_SIZE}" \
--env AGENT_INIT=${AGENT_INIT} \
--env DAX="${DAX}" \
--env DEBUG="${DEBUG}" \
-v /dev:/dev \
-v "${script_dir}":"/osbuilder" \
-v "${script_dir}/../scripts":"/scripts" \

View File

@@ -346,6 +346,7 @@ if [ -n "${USE_DOCKER}" ] ; then
--env OSBUILDER_VERSION="${OSBUILDER_VERSION}" \
--env INSIDE_CONTAINER=1 \
--env SECCOMP="${SECCOMP}" \
--env DEBUG="${DEBUG}" \
-v "${script_dir}":"/osbuilder" \
-v "${ROOTFS_DIR}":"/rootfs" \
-v "${script_dir}/../scripts":"/scripts" \