summaryrefslogtreecommitdiffstats
path: root/extras/docker/build/Dockerfile.bionic
diff options
context:
space:
mode:
Diffstat (limited to 'extras/docker/build/Dockerfile.bionic')
-rw-r--r--extras/docker/build/Dockerfile.bionic14
1 files changed, 14 insertions, 0 deletions
diff --git a/extras/docker/build/Dockerfile.bionic b/extras/docker/build/Dockerfile.bionic
new file mode 100644
index 00000000000..61d57c26c7d
--- /dev/null
+++ b/extras/docker/build/Dockerfile.bionic
@@ -0,0 +1,14 @@
+# Run from top of vpp repo with command:
+# docker build -f extras/docker/build/Dockerfile.bionic .
+FROM ubuntu:bionic
+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