aboutsummaryrefslogtreecommitdiffstats
path: root/docker/dmm_image/centos/Dockerfile
blob: de772fe7a34590d5a859fcb542b1fe844a244092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM docker.io/centos:latest

RUN yum install -y git vim sudo ethtool

RUN yum install -y kernel-devel-`uname -r`
RUN yum install -y kernel-`uname -r`

RUN git config --global http.sslVerify false
RUN git config --global user.email "you@example.com"
RUN git config --global user.name "Your Name"

RUN git clone https://gerrit.fd.io/r/dmm

RUN mkdir -p /var/run/ip_module/
RUN mkdir -p /var/log/nStack/ip_module/

RUN cd /dmm/scripts/ && bash -x build.sh && cd /dmm/ && git clean -dfx ./ && git checkout ./