From 8851ccfe4aac8d021e2a813a8a25c13b3ae61853 Mon Sep 17 00:00:00 2001 From: Maros Ondrejicka Date: Fri, 13 Jan 2023 10:09:14 +0100 Subject: hs-test: use equal ubuntu versions in test images Official nginx image is based on Debian with older libc version, that causes a runtime fail when VPP libraries are compiled in Ubuntu which has newer libc. Using equal version of Ubuntu in VPP image and in nginx image ensures that running nginx won't fail due to different libc versions. Type: test Signed-off-by: Maros Ondrejicka Change-Id: I48f3b23be30a9d9d9144351437ce163d64a4bb6b --- extras/hs-test/script/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extras/hs-test/script') diff --git a/extras/hs-test/script/build.sh b/extras/hs-test/script/build.sh index b8962ec989e..5c51244cf9f 100755 --- a/extras/hs-test/script/build.sh +++ b/extras/hs-test/script/build.sh @@ -10,5 +10,5 @@ mkdir -p ${bin} ${lib} || true cp ${VPP_WS}/build-root/build-vpp_debug-native/vpp/bin/* ${bin} cp -r ${VPP_WS}/build-root/build-vpp_debug-native/vpp/lib/x86_64-linux-gnu/* ${lib} -docker build -t hs-test/vpp -f Dockerfile.vpp . -docker build -t hs-test/nginx-ldp -f Dockerfile.nginx . +docker build --build-arg UBUNTU_VERSION -t hs-test/vpp -f Dockerfile.vpp . +docker build --build-arg UBUNTU_VERSION -t hs-test/nginx-ldp -f Dockerfile.nginx . -- cgit 1.2.3-korg