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