Update Dockerfile

This commit is contained in:
Quentin 2019-09-04 17:42:59 +02:00
parent b7f3073473
commit 40a3b4f68a

View file

@ -20,13 +20,6 @@ WORKDIR /home/donar-build
RUN chown -R 1000 /home/donar-build
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 && \
cd ./tor2 && \
./autogen.sh && \
@ -39,6 +32,13 @@ RUN git clone --single-branch --branch master https://gitlab.inria.fr/qdufour/wi
./configure --disable-asciidoc && \
make -j`nproc`
COPY ./src ./src
COPY CMakeLists.txt .
RUN mkdir out && \
cd out && \
cmake -GNinja .. && \
ninja
#####
FROM fedora:30