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:
|
||||
- '.github/workflows/build-containers.yml'
|
||||
- 'share/spack/docker/*'
|
||||
- 'share/templates/container/*'
|
||||
- 'share/spack/templates/container/*'
|
||||
- 'lib/spack/spack/container/*'
|
||||
# Let's also build & tag Spack containers on releases.
|
||||
release:
|
||||
|
@ -39,7 +39,7 @@ WORKDIR /root
|
||||
SHELL ["docker-shell"]
|
||||
|
||||
# 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"]
|
||||
CMD ["interactive-shell"]
|
||||
|
@ -12,7 +12,6 @@ RUN zypper ref && \
|
||||
git\
|
||||
gzip\
|
||||
patch\
|
||||
patchelf\
|
||||
python3-base \
|
||||
python3-boto3\
|
||||
tar\
|
||||
|
Loading…
Reference in New Issue
Block a user