diff --git a/.github/workflows/build-containers.yml b/.github/workflows/build-containers.yml index 940e9d965fb..83647e4ad17 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 0674ddd5412..e002cce02e1 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 38e4f1c0096..2427c377545 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\