Update Dockerfile
This commit is contained in:
parent
b7f3073473
commit
40a3b4f68a
1 changed files with 7 additions and 7 deletions
14
Dockerfile
14
Dockerfile
|
@ -20,13 +20,6 @@ WORKDIR /home/donar-build
|
||||||
RUN chown -R 1000 /home/donar-build
|
RUN chown -R 1000 /home/donar-build
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
COPY ./src ./src
|
|
||||||
COPY CMakeLists.txt .
|
|
||||||
RUN mkdir out && \
|
|
||||||
cd out && \
|
|
||||||
cmake -GNinja .. && \
|
|
||||||
ninja
|
|
||||||
|
|
||||||
RUN git clone --single-branch --branch patch/relay_2 https://gitlab.inria.fr/qdufour/wide-tor.git tor2 && \
|
RUN git clone --single-branch --branch patch/relay_2 https://gitlab.inria.fr/qdufour/wide-tor.git tor2 && \
|
||||||
cd ./tor2 && \
|
cd ./tor2 && \
|
||||||
./autogen.sh && \
|
./autogen.sh && \
|
||||||
|
@ -39,6 +32,13 @@ RUN git clone --single-branch --branch master https://gitlab.inria.fr/qdufour/wi
|
||||||
./configure --disable-asciidoc && \
|
./configure --disable-asciidoc && \
|
||||||
make -j`nproc`
|
make -j`nproc`
|
||||||
|
|
||||||
|
COPY ./src ./src
|
||||||
|
COPY CMakeLists.txt .
|
||||||
|
RUN mkdir out && \
|
||||||
|
cd out && \
|
||||||
|
cmake -GNinja .. && \
|
||||||
|
ninja
|
||||||
|
|
||||||
#####
|
#####
|
||||||
|
|
||||||
FROM fedora:30
|
FROM fedora:30
|
||||||
|
|
Loading…
Reference in a new issue