Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker_firedrake-parmmg_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
with:
# starting from firedrake-parmmg-base, build firedrake-parmmg image
# which includes Animate, Movement, Goalie, and Thetis packages
dockerfile-path: 'docker/Dockerfile.firedrake-parmmg'
dockerfile-path: 'docker/Dockerfile.firedrake-parmmg_release'
firedrake-branch: 'release'
docker-image-tag: 'ghcr.io/mesh-adaptation/firedrake-parmmg:release'
load-docker-image-artifact: 'firedrake-parmmg-base-release'
26 changes: 26 additions & 0 deletions docker/Dockerfile.firedrake-parmmg_release
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Dockerfile that provides Firedrake release built with (Par)Mmg support
# and with the main mesh-adaptation packages installed in /root
FROM ghcr.io/mesh-adaptation/firedrake-parmmg-base:release

# Which branch is to be used across all repositories?
ARG BRANCH="main"

WORKDIR /root

# Install Thetis
RUN pip install --verbose --src . -e git+https://github.com/thetisproject/thetis.git#egg=thetis

# Install adapt_common, Animate, Movement, Goalie and their dependencies
RUN git clone https://github.com/mesh-adaptation/adapt_common.git && \
git clone https://github.com/mesh-adaptation/animate.git && \
git clone https://github.com/mesh-adaptation/movement.git && \
git clone https://github.com/mesh-adaptation/goalie.git && \
cd animate && git checkout ${BRANCH} && cd .. && \
cd movement && git checkout ${BRANCH} && cd .. && \
cd goalie && git checkout ${BRANCH} && cd .. && \
cd animate && git submodule init && git submodule update && cd .. && \
cd movement && git submodule init && git submodule update && cd .. && \
pip install -e adapt_common[dev] && \
pip install -e animate[dev] && \
pip install -e movement[dev] && \
pip install -e goalie[dev]