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 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