hs-test: more proxy vars for docker builds
Type: improvement
Change-Id: Ica9d87abde7a1dc0b4007911a7e0abab46dfb75d
Signed-off-by: Florin Coras <fcoras@cisco.com>
diff --git a/extras/hs-test/script/build_hst.sh b/extras/hs-test/script/build_hst.sh
index 0897813..cc2d00b 100755
--- a/extras/hs-test/script/build_hst.sh
+++ b/extras/hs-test/script/build_hst.sh
@@ -55,8 +55,12 @@
docker_build () {
tag=$1
dockername=$2
- docker build --build-arg UBUNTU_VERSION --build-arg http_proxy=$HTTP_PROXY \
- --build-arg https_proxy=$HTTP_PROXY -t $tag -f docker/Dockerfile.$dockername .
+ docker build --build-arg UBUNTU_VERSION \
+ --build-arg http_proxy=$HTTP_PROXY \
+ --build-arg https_proxy=$HTTP_PROXY \
+ --build-arg HTTP_PROXY=$HTTP_PROXY \
+ --build-arg HTTPS_PROXY=$HTTP_PROXY \
+ -t $tag -f docker/Dockerfile.$dockername .
}
docker_build hs-test/vpp vpp