Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add python packages needed for standalone #7

Merged
merged 2 commits into from
Sep 23, 2024
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 contributing
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ publicly. In the xyz folder, you can specify your container via a Dockerfile
(or equivalent). To build the container, add a github actions workflow under
.github/workflows named xyz.yaml. Name the image "containers-xyz", and have
the workflow act only on the files added (folder xyz and workflow file). Also,
tag and release the container with xyz-v1.2.3.
tag and release the container with xyz-1.2.3.

See the example provided by the ghci container.
7 changes: 7 additions & 0 deletions ghci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM spack/ubuntu-jammy:0.22.2

LABEL org.opencontainers.image.source=https://github.com/E3SM-Project/containers
LABEL org.opencontainers.image.description="E3SM ghci container is mainly for testing on github actions"
LABEL org.opencontainers.image.licenses=BSD-3-Clause

ARG GCC_VERSION=11.4.0
ARG MPICH_VERSION=3.4.3
Expand Down Expand Up @@ -50,6 +52,11 @@ RUN mkdir -p /opt/spack-environment \
&& echo " - yaml-cpp" \
&& echo " - fmt" \
&& echo " - spdlog" \
&& echo " - python" \
&& echo " - py-pyyaml" \
&& echo " - py-psutil" \
&& echo " - py-netcdf4" \
&& echo " - py-nanobind" \
&& echo " " \
&& echo " specs:" \
&& echo " - szip" \
Expand Down
2 changes: 1 addition & 1 deletion ghci/readme
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The ghci container is mainly for testing on github actions

Design notes
- the container is based on spack/ubuntu-jammy:0.22.1
- the container is based on spack/ubuntu-jammy:0.22.2
- the container relies on binary cache to accelerate builds
- the container is based on gcc 11, native to ubuntu 22.04 (jammy)
- the container has mpich 3.4.3, to ensure compatibility with craympich
Expand Down