summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build-containers.yml2
-rw-r--r--share/spack/templates/container/bootstrap-base.dockerfile2
-rw-r--r--share/spack/templates/container/leap-15.dockerfile1
3 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/build-containers.yml b/.github/workflows/build-containers.yml
index 940e9d965f..83647e4ad1 100644
--- a/.github/workflows/build-containers.yml
+++ b/.github/workflows/build-containers.yml
@@ -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:
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\