Skip to content

Commit

Permalink
Adjusted build for docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
schillij95 committed Sep 11, 2023
1 parent 3e6324b commit 9b58d9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/schillij95/volume-cartographer
images: ghcr.io/schillij95/volume-cartographer-papyrus
tags: |
type=ref,event=pr
type=semver,pattern={{version}}
Expand Down
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ RUN apt-get update
RUN apt-get install -y libsdl2-dev

# Install volcart
COPY ./ /volume-cartographer/
COPY ./ /volume-cartographer-papyrus/
RUN export CMAKE_PREFIX_PATH="/usr/local/Qt-6.4.2/" \
&& cmake \
-S /volume-cartographer/ \
-B /volume-cartographer/build/ \
-S /volume-cartographer-papyrus/ \
-B /volume-cartographer-papyrus/build/ \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_RPATH=/usr/local/Qt-6.4.2/lib \
-DVC_BUILD_ACVD=ON \
&& cmake --build /volume-cartographer/build/ \
&& cmake --install /volume-cartographer/build/ \
&& rm -rf /volume-cartographer/
&& cmake --build /volume-cartographer-papyrus/build/ \
&& cmake --install /volume-cartographer-papyrus/build/ \
&& rm -rf /volume-cartographer-papyrus/

# Start an interactive shell
CMD ["/bin/bash"]

0 comments on commit 9b58d9c

Please sign in to comment.