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