summaryrefslogtreecommitdiffstats
path: root/src/plugins/srv6-mobile/extra/Dockerfile.j2.release
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/srv6-mobile/extra/Dockerfile.j2.release')
-rw-r--r--src/plugins/srv6-mobile/extra/Dockerfile.j2.release37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/plugins/srv6-mobile/extra/Dockerfile.j2.release b/src/plugins/srv6-mobile/extra/Dockerfile.j2.release
new file mode 100644
index 00000000000..851aef66197
--- /dev/null
+++ b/src/plugins/srv6-mobile/extra/Dockerfile.j2.release
@@ -0,0 +1,37 @@
+
+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 \
+ 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
+