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