summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-01-16 13:21:35 -0800
committerDave Barach <vpp@barachs.net>2023-01-17 17:44:30 +0000
commita35f56663fe6dde5da13fd52fa50a28080f6dd2f (patch)
tree6188498e109e83fc72dd0d3287182bc9f1590797
parentf643b6f67111061e90ea41471b4b42c75b7a5988 (diff)
hs-test: add http proxy env to container builds
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I8c116efb41d561e30fd0db1388cdba903e2edffe
-rwxr-xr-xextras/hs-test/script/build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/extras/hs-test/script/build.sh b/extras/hs-test/script/build.sh
index 9860ba231b7..f52025c9092 100755
--- a/extras/hs-test/script/build.sh
+++ b/extras/hs-test/script/build.sh
@@ -21,5 +21,7 @@ if [ $res -ne 0 ]; then
exit 1
fi
-docker build --build-arg UBUNTU_VERSION -t hs-test/vpp -f docker/Dockerfile.vpp .
-docker build --build-arg UBUNTU_VERSION -t hs-test/nginx-ldp -f docker/Dockerfile.nginx .
+docker build --build-arg UBUNTU_VERSION --build-arg http_proxy=$HTTP_PROXY \
+ -t hs-test/vpp -f docker/Dockerfile.vpp .
+docker build --build-arg UBUNTU_VERSION --build-arg http_proxy=$HTTP_PROXY \
+ -t hs-test/nginx-ldp -f docker/Dockerfile.nginx .