From 148cc01a56ab6502247d2445501ada6625f0cebf Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Wed, 15 Aug 2018 11:43:54 -0500 Subject: 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 --- extras/docker/run/Dockerfile.bionic | 12 ++++++++++++ extras/docker/run/Dockerfile.centos7 | 5 +++++ extras/docker/run/Dockerfile.xenial | 12 ++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 extras/docker/run/Dockerfile.bionic create mode 100644 extras/docker/run/Dockerfile.centos7 create mode 100644 extras/docker/run/Dockerfile.xenial (limited to 'extras/docker/run') diff --git a/extras/docker/run/Dockerfile.bionic b/extras/docker/run/Dockerfile.bionic new file mode 100644 index 00000000000..f7a8603ca8a --- /dev/null +++ b/extras/docker/run/Dockerfile.bionic @@ -0,0 +1,12 @@ +FROM ubuntu:bionic +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"] + diff --git a/extras/docker/run/Dockerfile.centos7 b/extras/docker/run/Dockerfile.centos7 new file mode 100644 index 00000000000..8c27abd6b19 --- /dev/null +++ b/extras/docker/run/Dockerfile.centos7 @@ -0,0 +1,5 @@ +FROM centos:7.3.1611 +ARG REPO=release +RUN curl -s https://packagecloud.io/install/repositories/fdio/${REPO}/script.rpm.sh | bash +RUN yum -y install vpp vpp-plugins +CMD ["/usr/bin/vpp","-c","/etc/vpp/startup.conf"] \ No newline at end of file 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"] + -- cgit 1.2.3-korg