summaryrefslogtreecommitdiffstats
path: root/extras/docker/run/Dockerfile.xenial
diff options
context:
space:
mode:
authorEd Warnicke <hagbard@gmail.com>2018-08-15 11:43:54 -0500
committerDamjan Marion <dmarion@me.com>2018-08-20 20:24:53 +0000
commit148cc01a56ab6502247d2445501ada6625f0cebf (patch)
treeba5d395f39703565a9b56fc97c5c52941a76d006 /extras/docker/run/Dockerfile.xenial
parent052c2dc7e1fb5c9ec793371b48b988cfeed1c87f (diff)
Add Dockerfiles for run/build.
build-root/docker/build/ contains Dockerfiles for building vpp build-root/docker/run. contains Dockerfiles for creating Docker containers for runnining vpp. xenial, bionic, and centos7 are supported Change-Id: I90dd96ed9e01da14eead0395e597219717eead88 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
Diffstat (limited to 'extras/docker/run/Dockerfile.xenial')
-rw-r--r--extras/docker/run/Dockerfile.xenial12
1 files changed, 12 insertions, 0 deletions
diff --git a/extras/docker/run/Dockerfile.xenial b/extras/docker/run/Dockerfile.xenial
new file mode 100644
index 00000000000..ba1a2ae03c6
--- /dev/null
+++ b/extras/docker/run/Dockerfile.xenial
@@ -0,0 +1,12 @@
+FROM ubuntu:xenial
+ARG DEBIAN_FRONTEND=noninteractive
+ARG REPO=release
+RUN apt-get update
+RUN apt-get -y install curl
+RUN curl -s https://packagecloud.io/install/repositories/fdio/${REPO}/script.deb.sh | bash
+RUN apt-get update
+RUN apt-get -y install vpp vpp-plugins
+RUN apt-get -y purge curl
+RUN apt-get -y clean
+CMD ["/usr/bin/vpp","-c","/etc/vpp/startup.conf"]
+