diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile
index 39475dbcc48400dfdc960957ae416a53f0ac0364..0582a371dbbcdfb01768683db0cef9f8d82237b5 100644
--- a/containers/jug/dev.Dockerfile
+++ b/containers/jug/dev.Dockerfile
@@ -125,9 +125,8 @@ RUN --mount=type=cache,target=/var/cache/spack                          \
 
 ## Clear the local source and buildcache before install
 RUN --mount=type=cache,target=/var/cache/spack                          \
-    find /var/cache/spack/mirror/${SPACK_VERSION}/build_cache/*         \
-         /var/cache/spack/_source-cache/archives*                       \
-      -atime +30 -print -delete
+    find /var/cache/spack/mirror/${SPACK_VERSION}/ -atime +30 -print \
+ && find /var/cache/spack/_source-cache/archive -atime +30 -print
 
 ## Extra post-spack steps:
 ##   - Python packages