From 2e4156dd9c8a3038457450016d90814eaec8c5fe Mon Sep 17 00:00:00 2001 From: Theodore Chang Date: Mon, 22 Apr 2024 02:15:07 +0200 Subject: [PATCH] Minor update --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c21ea03..abac5a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN apt-get update -y && apt-get install -y cmake git g++ libtbb-dev libmpfr-dev RUN git clone --depth 1 https://github.com/TLCFEM/vpmr.git -WORKDIR vpmr +WORKDIR /vpmr RUN git submodule update --init --recursive RUN cd eigen && git apply ../patch_size.patch && cd .. @@ -13,7 +13,7 @@ RUN mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make FROM ubuntu:22.04 as runtime -RUN apt-get update -y && apt-get install -y libtbb12 libmpfr6 libgmp10 +RUN apt-get update -y && apt-get install -y libtbb12 libmpfr6 libgmp10 && apt-get clean -y COPY --from=build /vpmr/build/vpmr /usr/local/bin/vpmr