diff --git a/containers/jug/Dockerfile.dev b/containers/jug/Dockerfile.dev index 4f1c3a29165a532779f7114ece953e39e8ff9e76..3cf2f1aad13f30e96df9291e7e93d8674a46353d 100644 --- a/containers/jug/Dockerfile.dev +++ b/containers/jug/Dockerfile.dev @@ -94,12 +94,13 @@ RUN --mount=type=cache,target=/var/cache/spack-mirror \ && spack clean -a ## Update the local build cache if needed. Consists of 3 steps: -## 1. Remove the B010 network buildcache +## 1. Remove the B010 network buildcache (silicon) ## 2. Get a list of all packages, and compare with what is already on ## the buildcache (using package hash) ## 3. Add packages that need to be added to buildcache if any RUN --mount=type=cache,target=/var/cache/spack-mirror \ - spack buildcache list --allarch --long \ + spack mirror remove silicon \ + && spack buildcache list --allarch --long \ | grep -v -e '---' \ | sed "s/@.\+//" \ | sort > tmp.buildcache.txt \