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