Maros Ondrejicka | 8851ccf | 2023-01-13 10:09:14 +0100 | [diff] [blame] | 1 | ARG UBUNTU_VERSION |
| 2 | |
| 3 | FROM ubuntu:${UBUNTU_VERSION} |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 4 | |
| 5 | RUN 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 Wallace | d1a5161 | 2024-05-30 14:27:35 -0400 | [diff] [blame] | 8 | vim gdb libunwind-dev \ |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 9 | && rm -rf /var/lib/apt/lists/* |
| 10 | |
Filip Tehlar | 058237e | 2023-01-11 10:58:58 +0100 | [diff] [blame] | 11 | ENV DIR=vpp-data/lib/vpp_plugins |
| 12 | COPY \ |
| 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 Tehlar | cc1475c | 2023-11-29 12:59:05 +0100 | [diff] [blame] | 18 | $DIR/http_static_plugin.so \ |
Adrian Villin | cee15aa | 2024-03-14 11:42:55 -0400 | [diff] [blame] | 19 | $DIR/ping_plugin.so \ |
Matus Fabian | c899ab4 | 2024-04-22 13:42:00 +0200 | [diff] [blame] | 20 | $DIR/nsim_plugin.so \ |
Filip Tehlar | cc1475c | 2023-11-29 12:59:05 +0100 | [diff] [blame] | 21 | $DIR/prom_plugin.so \ |
Filip Tehlar | 3336eef | 2023-11-29 07:40:18 +0100 | [diff] [blame] | 22 | $DIR/tlsopenssl_plugin.so \ |
Matus Fabian | 82ad966 | 2024-06-04 19:00:00 +0200 | [diff] [blame] | 23 | $DIR/mactime_plugin.so \ |
Filip Tehlar | 058237e | 2023-01-11 10:58:58 +0100 | [diff] [blame] | 24 | /usr/lib/x86_64-linux-gnu/vpp_plugins/ |
| 25 | |
Filip Tehlar | 48744b9 | 2023-12-14 16:29:11 +0100 | [diff] [blame] | 26 | COPY vpp-data/bin/vpp /usr/bin/ |
| 27 | COPY vpp-data/bin/vppctl /usr/bin/ |
| 28 | COPY vpp-data/bin/vpp_echo /usr/bin/ |
| 29 | COPY vpp-data/bin/vcl_* /usr/bin/ |
| 30 | COPY vpp-data/lib/*.so /usr/lib/ |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 31 | |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 32 | RUN addgroup vpp |
| 33 | |
| 34 | ENTRYPOINT ["tail", "-f", "/dev/null"] |