summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-10-25 13:46:47 +0200
committerGitHub <noreply@github.com>2022-10-25 11:46:47 +0000
commit00ae74f40e4ac918f4826bf3fb61da6f28af5051 (patch)
tree81091fe67782ad50d66fbe4f11c28326bd55a42b /share
parent62526c10853087b279d0ba4f0a01fe64b2c92d66 (diff)
downloadspack-00ae74f40e4ac918f4826bf3fb61da6f28af5051.tar.gz
spack-00ae74f40e4ac918f4826bf3fb61da6f28af5051.tar.bz2
spack-00ae74f40e4ac918f4826bf3fb61da6f28af5051.tar.xz
spack-00ae74f40e4ac918f4826bf3fb61da6f28af5051.zip
Update Spack Dockerfiles (#33500)
* Use spack bootstrap now in containers * Fix wrong path glob expression
Diffstat (limited to 'share')
-rw-r--r--share/spack/templates/container/bootstrap-base.dockerfile2
-rw-r--r--share/spack/templates/container/leap-15.dockerfile1
2 files changed, 1 insertions, 2 deletions
diff --git a/share/spack/templates/container/bootstrap-base.dockerfile b/share/spack/templates/container/bootstrap-base.dockerfile
index 0674ddd541..e002cce02e 100644
--- a/share/spack/templates/container/bootstrap-base.dockerfile
+++ b/share/spack/templates/container/bootstrap-base.dockerfile
@@ -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"]
diff --git a/share/spack/templates/container/leap-15.dockerfile b/share/spack/templates/container/leap-15.dockerfile
index 38e4f1c009..2427c37754 100644
--- a/share/spack/templates/container/leap-15.dockerfile
+++ b/share/spack/templates/container/leap-15.dockerfile
@@ -12,7 +12,6 @@ RUN zypper ref && \
git\
gzip\
patch\
- patchelf\
python3-base \
python3-boto3\
tar\