]> git.ozlabs.org Git - petitboot/blobdiff - docker/build-builder
docker: Pass proxy variables to docker build
[petitboot] / docker / build-builder
index 04603ad9be0459feef4923b821261608d2f66271..c29e032ac3799d1b3cb5f4b32b2e6f7e1d3c8227 100755 (executable)
@@ -120,6 +120,8 @@ cd ${TOP_DIR}
 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} \
        ."