Update Spack Dockerfiles (#33500)
* Use spack bootstrap now in containers * Fix wrong path glob expression
This commit is contained in:
parent
62526c1085
commit
00ae74f40e
2
.github/workflows/build-containers.yml
vendored
2
.github/workflows/build-containers.yml
vendored
@ -13,7 +13,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- '.github/workflows/build-containers.yml'
|
- '.github/workflows/build-containers.yml'
|
||||||
- 'share/spack/docker/*'
|
- 'share/spack/docker/*'
|
||||||
- 'share/templates/container/*'
|
- 'share/spack/templates/container/*'
|
||||||
- 'lib/spack/spack/container/*'
|
- 'lib/spack/spack/container/*'
|
||||||
# Let's also build & tag Spack containers on releases.
|
# Let's also build & tag Spack containers on releases.
|
||||||
release:
|
release:
|
||||||
|
@ -39,7 +39,7 @@ WORKDIR /root
|
|||||||
SHELL ["docker-shell"]
|
SHELL ["docker-shell"]
|
||||||
|
|
||||||
# Creates the package cache
|
# Creates the package cache
|
||||||
RUN spack spec hdf5+mpi
|
RUN spack bootstrap now && spack spec hdf5+mpi
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/bash", "/opt/spack/share/spack/docker/entrypoint.bash"]
|
ENTRYPOINT ["/bin/bash", "/opt/spack/share/spack/docker/entrypoint.bash"]
|
||||||
CMD ["interactive-shell"]
|
CMD ["interactive-shell"]
|
||||||
|
@ -12,7 +12,6 @@ RUN zypper ref && \
|
|||||||
git\
|
git\
|
||||||
gzip\
|
gzip\
|
||||||
patch\
|
patch\
|
||||||
patchelf\
|
|
||||||
python3-base \
|
python3-base \
|
||||||
python3-boto3\
|
python3-boto3\
|
||||||
tar\
|
tar\
|
||||||
|
Loading…
Reference in New Issue
Block a user