aboutsummaryrefslogtreecommitdiffstats
path: root/extras/docker/build/Dockerfile.centos7
diff options
context:
space:
mode:
Diffstat (limited to 'extras/docker/build/Dockerfile.centos7')
-rw-r--r--extras/docker/build/Dockerfile.centos711
1 files changed, 11 insertions, 0 deletions
diff --git a/extras/docker/build/Dockerfile.centos7 b/extras/docker/build/Dockerfile.centos7
new file mode 100644
index 00000000000..b466feb99ec
--- /dev/null
+++ b/extras/docker/build/Dockerfile.centos7
@@ -0,0 +1,11 @@
+# Run from top of vpp repo with command:
+# docker build -f extras/docker/build/Dockerfile.centos7 .
+FROM centos:7.3.1611
+ARG REPO=master
+COPY . /vpp
+WORKDIR /vpp
+RUN curl -s https://packagecloud.io/install/repositories/fdio/${REPO}/script.rpm.sh | bash
+RUN yum install -y vpp-dpdk-devel make sudo
+RUN UNATTENDED=y make install-dep
+RUN make pkg-rpm
+CMD ["/bin/bash"] \ No newline at end of file