aboutsummaryrefslogtreecommitdiffstats
path: root/extras/docker/build/Dockerfile.centos7
blob: b466feb99ec0fcd18c65a1f5db7d05c9b02de28e (plain)
1
2
3
4
5
6
7
8
9
10
11
# Run from top of vpp repo with command:
# docker build -f extras/docker/build/Dockerfile.centos7 .
FROM centos:7.3.1611
ARG REPO=master
COPY . /vpp
WORKDIR /vpp
RUN curl -s https://packagecloud.io/install/repositories/fdio/${REPO}/script.rpm.sh |  bash
RUN yum install -y vpp-dpdk-devel make sudo
RUN UNATTENDED=y make install-dep
RUN make pkg-rpm
CMD ["/bin/bash"]