blob: f87ee30c332fc471824a07a62ce84792c2899b30 [file] [log] [blame]
Maros Ondrejicka8851ccf2023-01-13 10:09:14 +01001ARG UBUNTU_VERSION
2
3FROM ubuntu:${UBUNTU_VERSION}
Filip Tehlar229f5fc2022-08-09 14:44:47 +00004
5RUN apt-get update \
6 && apt-get install -y openssl libapr1 libnuma1 libsubunit0 \
7 iproute2 libnl-3-dev libnl-route-3-dev python3 iputils-ping \
Dave Wallaced1a51612024-05-30 14:27:35 -04008 vim gdb libunwind-dev \
Filip Tehlar229f5fc2022-08-09 14:44:47 +00009 && rm -rf /var/lib/apt/lists/*
10
Filip Tehlar058237e2023-01-11 10:58:58 +010011ENV DIR=vpp-data/lib/vpp_plugins
12COPY \
13 $DIR/af_packet_plugin.so \
14 $DIR/hs_apps_plugin.so \
15 $DIR/http_plugin.so \
16 $DIR/unittest_plugin.so \
17 $DIR/quic_plugin.so \
Filip Tehlarcc1475c2023-11-29 12:59:05 +010018 $DIR/http_static_plugin.so \
Adrian Villincee15aa2024-03-14 11:42:55 -040019 $DIR/ping_plugin.so \
Matus Fabianc899ab42024-04-22 13:42:00 +020020 $DIR/nsim_plugin.so \
Filip Tehlarcc1475c2023-11-29 12:59:05 +010021 $DIR/prom_plugin.so \
Filip Tehlar3336eef2023-11-29 07:40:18 +010022 $DIR/tlsopenssl_plugin.so \
Matus Fabian82ad9662024-06-04 19:00:00 +020023 $DIR/mactime_plugin.so \
Filip Tehlar058237e2023-01-11 10:58:58 +010024 /usr/lib/x86_64-linux-gnu/vpp_plugins/
25
Filip Tehlar48744b92023-12-14 16:29:11 +010026COPY vpp-data/bin/vpp /usr/bin/
27COPY vpp-data/bin/vppctl /usr/bin/
28COPY vpp-data/bin/vpp_echo /usr/bin/
29COPY vpp-data/bin/vcl_* /usr/bin/
30COPY vpp-data/lib/*.so /usr/lib/
Filip Tehlar229f5fc2022-08-09 14:44:47 +000031
Filip Tehlar229f5fc2022-08-09 14:44:47 +000032RUN addgroup vpp
33
34ENTRYPOINT ["tail", "-f", "/dev/null"]