Skip to content

Commit

Permalink
Merge pull request #24 from justusranvier/develop
Browse files Browse the repository at this point in the history
update dockerfile
  • Loading branch information
justusranvier authored Dec 29, 2023
2 parents c3c1995 + 66848c4 commit 19ad824
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN mkdir -p /usr/src && git clone --recursive "${METIER_SERVER_REPO}" /usr/src/

FROM $OPENTXS_BUILD_URL AS compile
COPY --from=metier_server-download /usr/src/metier-server /usr/src/metier-server
RUN --mount=type=tmpfs,target=/tmp/metier-server /usr/bin/cmake \
RUN --mount=type=tmpfs,target=/tmp/metier-server /opt/cmake/bin/cmake \
-S /usr/src/metier-server \
-B /tmp/metier-server \
-GNinja \
Expand All @@ -31,8 +31,8 @@ RUN --mount=type=tmpfs,target=/tmp/metier-server /usr/bin/cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_UNITY_BUILD=ON \
-DCMAKE_UNITY_BUILD_BATCH_SIZE=0 \
&& /usr/bin/cmake --build /tmp/metier-server \
&& /usr/bin/cmake --install /tmp/metier-server
&& /opt/cmake/bin/cmake --build /tmp/metier-server \
&& /opt/cmake/bin/cmake --install /tmp/metier-server

FROM $OPENTXS_RUN_URL AS run
COPY --from=compile /usr/local/bin/metier-server /usr/bin/metier-server
Expand Down

0 comments on commit 19ad824

Please sign in to comment.