Add Dockerfiles for run/build.
[vpp.git] / extras / docker / build / Dockerfile.bionic
1 # Run from top of vpp repo with command:
2 # docker build -f extras/docker/build/Dockerfile.bionic .
3 FROM ubuntu:bionic
4 ARG REPO=master
5 COPY . /vpp
6 WORKDIR /vpp
7 RUN apt-get update
8 RUN apt-get -y install make sudo git curl
9 RUN curl -s https://packagecloud.io/install/repositories/fdio/${REPO}/script.deb.sh |  bash
10 RUN apt-get update
11 RUN apt-get -y install vpp-dpdk-dev
12 RUN UNATTENDED=y make install-dep
13 RUN make pkg-deb
14 CMD ["/bin/bash"]