diff mbox series

[v2,2/3] docker: Pass proxy variables to docker build

Message ID 20180802010334.28764-2-sam@mendozajonas.com
State Accepted
Headers show
Series [v2,1/3] docker: Add signed boot dependencies | expand

Commit Message

Sam Mendoza-Jonas Aug. 2, 2018, 1:03 a.m. UTC
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
---
 docker/build-builder | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/docker/build-builder b/docker/build-builder
index 04603ad..c29e032 100755
--- a/docker/build-builder
+++ b/docker/build-builder
@@ -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} \
 	."