]> git.ozlabs.org Git - petitboot/blobdiff - docker/build-builder
utils/pb-sos: Don't create files in root by default
[petitboot] / docker / build-builder
index c29e032ac3799d1b3cb5f4b32b2e6f7e1d3c8227..f593e541ee0c54eebdf5805ce38c2c94c2dd0a76 100755 (executable)
@@ -116,13 +116,14 @@ fi
 
 echo "Building docker image: ${DOCKER_TAG}" >&2
 
-cd ${TOP_DIR}
+cd ${TOP_DIR}/docker
 run_cmd "docker build \
        --file "${DOCKER_FILE}" \
        --build-arg DOCKER_FROM=${DOCKER_FROM} \
        --build-arg http_proxy=${http_proxy} \
        --build-arg https_proxy=${https_proxy} \
        --tag ${DOCKER_TAG} \
+       --network=host \
        ."
 
 show_tag