diff --git a/containers/Dockerfile.build b/containers/Dockerfile.build index 2025719..b20ac3a 100644 --- a/containers/Dockerfile.build +++ b/containers/Dockerfile.build @@ -27,4 +27,4 @@ RUN spack -d install --only dependencies ${PACKAGE}%${COMPILER_NAME}@${COMPILER_ # `spack find --json | jq .[].name` # This returns all currently installed spec names RUN dnf -y install jq -RUN spack -d buildcache create -a -m s3_buildcache `spack find --json | jq .[].name` +RUN spack -d buildcache create -a -m s3_buildcache `spack find --json | jq --raw-output .[].name` diff --git a/containers/build_dockerfile.base-spack.sh b/containers/build_dockerfile.base-spack.sh index cffb4c2..2533605 100755 --- a/containers/build_dockerfile.base-spack.sh +++ b/containers/build_dockerfile.base-spack.sh @@ -5,6 +5,7 @@ DOCKER_BUILDKIT=1 \ docker build \ + --build-arg SPACK_PACKAGES_VERSION="main" \ --secret id=S3_ACCESS_KEY_ID \ --secret id=S3_ACCESS_KEY_SECRET \ --secret id=access-nri.priv,src=./keys/access-nri.priv \