Debian Codegraph @

support/docker/build/Dockerfile

raw
1 ARG dist=ubuntu
2 ARG tag=latest
3 ARG username=acetcom
4 FROM ${username}/${dist}-${tag}-nextepc-base
5
6 MAINTAINER Sukchan Lee <[email protected]>
7
8 WORKDIR /root
9 COPY setup.sh /root
10
11 ARG USER=acetcom
12 ARG REPO=nextepc
13 ARG BRANCH=master
14 RUN git clone https://github.com/$USER/$REPO
15 ADD https://api.github.com/repos/$USER/$REPO/git/refs/heads/$BRANCH /root/nextepc-ver.json
16
17 RUN cd nextepc && \
18 git fetch && git checkout -f -B master origin/master && \
19 autoreconf -f -i && \
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var && \
24 make -j `nproc` install