851aef66197b1580fcdcf61b9aa862e9a83bf890
[vpp.git] / src / plugins / srv6-mobile / extra / Dockerfile.j2.release
1
2 FROM ubuntu:18.04
3
4 RUN set -eux; \
5     apt-get update; \
6     apt-get install -y --no-install-recommends \
7     inetutils-traceroute \
8     ca-certificates \
9     libmbedcrypto1 \
10     libmbedtls10 \
11     libmbedx509-0 \
12     libnuma1 \
13     sudo \
14     iputils-ping \
15     net-tools \
16     iproute2 \
17     tcpdump \
18     python3-cffi \
19     netcat; \
20     rm -rf /var/lib/apt/lists/*; \
21     mv /usr/sbin/tcpdump /usr/bin/tcpdump
22
23 WORKDIR /tmp
24
25 COPY startup.conf /etc/startup.conf
26
27 COPY vpp-package.tgz /tmp
28
29 RUN set -eux; \
30     tar xzf vpp-package.tgz; \
31     dpkg -i *.deb ; \
32     rm -rf *.deb
33
34 WORKDIR /
35  
36 CMD vpp -c /etc/startup.conf
37