summaryrefslogtreecommitdiffstats
path: root/extras/docker/build/Dockerfile.xenial
blob: 0a00246a97f6b901da52f065ae9bb796146b6b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"]