From f6f3f08d16654a688e549097dd2aed7d1dc4a610 Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sjoosten@anl.gov>
Date: Thu, 10 Jun 2021 00:22:05 +0000
Subject: [PATCH] fixed #64

---
 containers/jug/Dockerfile.dev | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/containers/jug/Dockerfile.dev b/containers/jug/Dockerfile.dev
index 4f1c3a291..3cf2f1aad 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                                        \
-- 
GitLab