aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/srv6-mobile/extra/Dockerfile.j2.release
blob: 7507f50403b45440b862fdde481a167174cb3c0a (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
39
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 \
    libssl-dev \
    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