Skip to content

Commit

Permalink
Try VOLUME in Dockrefile
Browse files Browse the repository at this point in the history
  • Loading branch information
matz-e committed May 10, 2024
1 parent 68332ac commit 7bfa03b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short |
libarrow-dev \
libparquet-dev

VOLUME /highfive
RUN mkdir /highfive \
&& git clone https://github.com/BlueBrain/HighFive /highfive/src \
&& cmake -B /highfive/build -S /highfive/src -DCMAKE_INSTALL_PREFIX=/highfive/install -DHIGHFIVE_UNIT_TESTS=OFF -DHIGHFIVE_EXAMPLES=OFF -DHIGHFIVE_BUILD_DOCS=OFF \
Expand All @@ -31,6 +32,7 @@ ENV CMAKE_PREFIX_PATH=/highfive/install
ENV OMPI_ALLOW_RUN_AS_ROOT=1
ENV OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1

VOLUME /src
COPY . /src

RUN cmake -GNinja -B /build -S /src -DCMAKE_CXX_COMPILER=/usr/bin/mpicxx \
Expand Down

0 comments on commit 7bfa03b

Please sign in to comment.