Add Dockerfiles for run/build.
[vpp.git] / extras / docker / build / Dockerfile.xenial
diff --git a/extras/docker/build/Dockerfile.xenial b/extras/docker/build/Dockerfile.xenial
new file mode 100644 (file)
index 0000000..0a00246
--- /dev/null
@@ -0,0 +1,14 @@
+# Run from top of vpp repo with command:
+# docker build -f extras/docker/build/Dockerfile.xenial .
+FROM ubuntu:xenial
+ARG REPO=master
+COPY . /vpp
+WORKDIR /vpp
+RUN apt-get update
+RUN apt-get -y install make sudo git 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-dpdk-dev
+RUN UNATTENDED=y make install-dep
+RUN make pkg-deb
+CMD ["/bin/bash"]
\ No newline at end of file