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 \ |
| 8 | vim gdb \ |
| 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 \ |
| 18 | /usr/lib/x86_64-linux-gnu/vpp_plugins/ |
| 19 | |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 20 | COPY vpp-data/bin/* /usr/bin/ |
| 21 | COPY vpp-data/lib/* /usr/lib/ |
| 22 | |
Maros Ondrejicka | db823ed | 2022-12-14 16:30:04 +0100 | [diff] [blame] | 23 | COPY hs-test /usr/local/bin/hs-test |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 24 | |
| 25 | RUN addgroup vpp |
| 26 | |
| 27 | ENTRYPOINT ["tail", "-f", "/dev/null"] |