Skip to content

Commit

Permalink
fix: add public mirrors to site scope
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Dec 30, 2023
1 parent 38d581c commit 11174bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion containers/jug/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spack compiler find --scope site
spack config blame compilers
EOF

## Setup eics3 buildcache mirrors
## Setup buildcache mirrors
## - this always adds the read-only mirror to the container
## - the write-enabled mirror is provided later as a secret mount
ARG S3_ACCESS_KEY=""
Expand All @@ -85,6 +85,8 @@ if [ -n "${S3_ACCESS_KEY}" ] ; then
--s3-access-key-secret "${S3_SECRET_KEY}" \
eics3 s3://eictest/EPIC/spack/${SPACK_VERSION}
fi
spack mirror add --scope site --signed spack-${SPACK_VERSION} https://binaries.spack.io/${SPACK_VERSION}
spack mirror add --scope site --unsigned ghcr-${SPACK_VERSION} url: oci://ghcr.io/eic/spack-${SPACK_VERSION}
spack mirror list
EOF

Expand Down

0 comments on commit 11174bc

Please sign in to comment.