Ed Warnicke | 148cc01 | 2018-08-15 11:43:54 -0500 | [diff] [blame] | 1 | # Run from top of vpp repo with command: |
2 | # docker build -f extras/docker/build/Dockerfile.xenial . | ||||
3 | FROM ubuntu:xenial | ||||
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"] |