vpp/extras/docker/build/Dockerfile.bionic
Ed Warnicke 148cc01a56 Add Dockerfiles for run/build.
build-root/docker/build/ contains Dockerfiles for building vpp

build-root/docker/run. contains Dockerfiles for creating
Docker containers for runnining vpp.

xenial, bionic, and centos7 are supported

Change-Id: I90dd96ed9e01da14eead0395e597219717eead88
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-08-20 20:24:53 +00:00

14 lines
435 B
Docker

# 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"]