summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/Dockerfile.vpp
diff options
context:
space:
mode:
authorMaros Ondrejicka <maros.ondrejicka@pantheon.tech>2023-01-13 10:09:14 +0100
committerFlorin Coras <florin.coras@gmail.com>2023-01-13 19:54:01 +0000
commit8851ccfe4aac8d021e2a813a8a25c13b3ae61853 (patch)
treec2f21bdd8d649d7220097149034a143b00ad70e7 /extras/hs-test/Dockerfile.vpp
parent609d8e9186a854891e202b32106aab9d530778d0 (diff)
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 <maros.ondrejicka@pantheon.tech> Change-Id: I48f3b23be30a9d9d9144351437ce163d64a4bb6b
Diffstat (limited to 'extras/hs-test/Dockerfile.vpp')
-rw-r--r--extras/hs-test/Dockerfile.vpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/hs-test/Dockerfile.vpp b/extras/hs-test/Dockerfile.vpp
index 45b6287cdbd..f95df2277c9 100644
--- a/extras/hs-test/Dockerfile.vpp
+++ b/extras/hs-test/Dockerfile.vpp
@@ -1,4 +1,6 @@
-FROM ubuntu:22.04
+ARG UBUNTU_VERSION
+
+FROM ubuntu:${UBUNTU_VERSION}
RUN apt-get update \
&& apt-get install -y openssl libapr1 libnuma1 libsubunit0 \