From 40a3b4f68adf29bdb199b9e6e9a57e3df6ff0797 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 4 Sep 2019 17:42:59 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index c413b42..88212e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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