vpp/extras/hs-test/Dockerfile.vpp
Maros Ondrejicka db823ed6e9 hs-test: abstract away topology from test cases
Definition of shared volumes and containers has been moved
to yaml files to be together with network topology.
Containers are automatically run at the beginning of each test case
and stopped afterward.

Type: test
Signed-off-by: Maros Ondrejicka <maros.ondrejicka@pantheon.tech>
Change-Id: I264cbb4f1355f8bd7aade221e9609fb5b9bd693e
2022-12-19 17:11:52 +00:00

20 lines
567 B
Docker
Executable File

FROM ubuntu:22.04
RUN apt-get update \
&& apt-get install -y openssl libapr1 libnuma1 libsubunit0 \
iproute2 libnl-3-dev libnl-route-3-dev python3 iputils-ping \
vim gdb \
&& rm -rf /var/lib/apt/lists/*
COPY vpp-data/lib/vat2_plugins/ /usr/lib/vat2_plugins/
COPY vpp-data/lib/vpp_api_test_plugins/ /usr/lib/vpp_api_test_plugins/
COPY vpp-data/lib/vpp_plugins/ /usr/lib/x86_64-linux-gnu/vpp_plugins/
COPY vpp-data/bin/* /usr/bin/
COPY vpp-data/lib/* /usr/lib/
COPY hs-test /usr/local/bin/hs-test
RUN addgroup vpp
ENTRYPOINT ["tail", "-f", "/dev/null"]