aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/tests/cFW/vpp/Dockerfile
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-03-20 06:26:39 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-20 06:26:39 +0000
commite35591ab0994f19ca86e96d28fe77041bcb3a9f1 (patch)
tree732d475830b059768d4c34ea3e4f877b732032f8 /vagrant/tests/cFW/vpp/Dockerfile
parente50daed19bbaec979a91f2677289f1c2e6e0d0d9 (diff)
parent9810b36a838c0db85b820d457b44c69bafcca6a0 (diff)
Merge "Add cFW scripts folder"
Diffstat (limited to 'vagrant/tests/cFW/vpp/Dockerfile')
-rw-r--r--vagrant/tests/cFW/vpp/Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/vagrant/tests/cFW/vpp/Dockerfile b/vagrant/tests/cFW/vpp/Dockerfile
new file mode 100644
index 00000000..63b08b01
--- /dev/null
+++ b/vagrant/tests/cFW/vpp/Dockerfile
@@ -0,0 +1,17 @@
+FROM ubuntu:16.04
+MAINTAINER Victor Morales <electrocucaracha@gmail.com>
+
+ARG HTTP_PROXY=${HTTP_PROXY}
+ARG HTTPS_PROXY=${HTTPS_PROXY}
+
+ENV http_proxy $HTTP_PROXY
+ENV https_proxy $HTTPS_PROXY
+
+RUN apt-get update && apt-get install -y -qq apt-transport-https \
+ && echo "deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.stable.1609.ubuntu.xenial.main/ ./" | tee -a /etc/apt/sources.list.d/99fd.io.list \
+ && apt-get update \
+ && apt-get install -y -qq vpp vpp-lib vpp-plugins
+
+COPY 80-vpp.conf /etc/sysctl.d/80-vpp.conf
+
+CMD ["/usr/bin/vpp", "-c", "/etc/vpp/startup.conf"]