aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 .