summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-12-22 19:58:26 -0500
committerFlorin Coras <florin.coras@gmail.com>2023-12-23 01:01:09 +0000
commit98d24a5feadd65d8cb77f3b6acdf7ce6d6c35485 (patch)
treed47d12a01505211b8a6bf99b1b08db85556debcd
parenta77d4ca32a633304c929565857f88f17c2df14d3 (diff)
hs-test: more proxy vars for docker builds
Type: improvement Change-Id: Ica9d87abde7a1dc0b4007911a7e0abab46dfb75d Signed-off-by: Florin Coras <fcoras@cisco.com>
-rwxr-xr-xextras/hs-test/script/build_hst.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/extras/hs-test/script/build_hst.sh b/extras/hs-test/script/build_hst.sh
index 0897813db72..cc2d00b6cbd 100755
--- a/extras/hs-test/script/build_hst.sh
+++ b/extras/hs-test/script/build_hst.sh
@@ -55,8 +55,12 @@ fi
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