From ed288dee382f08b1bd071dd7ccad19cdc4e2afcf Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 28 Mar 2019 17:05:47 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index c882948..1fc3ac4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,8 @@ RUN dnf install -y cmake gcc gcc-c++ ninja-build glib2-devel WORKDIR /home/donar-build RUN chown -R 1000 /home/donar-build USER 1000 -COPY . . +COPY ./src ./src +COPY CMakeLists.txt . RUN mkdir out && \ cd out && \ cmake -GNinja .. && \ @@ -19,8 +20,5 @@ COPY --from=builder /home/donar-build/out/donar /usr/local/bin COPY --from=builder /home/donar-build/out/measlat /usr/local/bin COPY --from=builder /home/donar-build/out/udpecho /usr/local/bin COPY --from=builder /home/donar-build/out/torecho /usr/local/bin -COPY --from=builder /home/donar-build/scripts/xp1-client /usr/local/bin -COPY --from=builder /home/donar-build/scripts/xp1-server /usr/local/bin -COPY --from=builder /home/donar-build/scripts/xp2-client /usr/local/bin -COPY --from=builder /home/donar-build/scripts/xp2-server /usr/local/bin +COPY ./scripts/* /usr/local/bin/ COPY ./torrc_simple /etc/torrc