Update Spack Dockerfiles (#33500)

* Use spack bootstrap now in containers

* Fix wrong path glob expression
This commit is contained in:
Massimiliano Culpo 2022-10-25 13:46:47 +02:00 committed by GitHub
parent 62526c1085
commit 00ae74f40e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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"]

View File

@ -12,7 +12,6 @@ RUN zypper ref && \
git\
gzip\
patch\
patchelf\
python3-base \
python3-boto3\
tar\