Skip to content

Commit

Permalink
add python packages needed for standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
mahf708 committed Sep 23, 2024
1 parent 3bdf6a4 commit d240131
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
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-netcdf" \
&& 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

0 comments on commit d240131

Please sign in to comment.