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.centos7 . | ||||
3 | FROM centos:7.3.1611 | ||||
4 | ARG REPO=master | ||||
5 | COPY . /vpp | ||||
6 | WORKDIR /vpp | ||||
7 | RUN curl -s https://packagecloud.io/install/repositories/fdio/${REPO}/script.rpm.sh | bash | ||||
8 | RUN yum install -y vpp-dpdk-devel make sudo | ||||
9 | RUN UNATTENDED=y make install-dep | ||||
10 | RUN make pkg-rpm | ||||
11 | CMD ["/bin/bash"] |