feat: install most dependencies in cacheable layer, before adding main
Compare changes
Files
5+ 9
− 8
@@ -34,6 +34,7 @@ ARG SPACK_VERSION="releases/v0.20"
@@ -325,12 +326,12 @@ RUN <<EOF
@@ -348,10 +349,10 @@ RUN <<EOF
Instead of requiring the whole stack to be reinstalled whenever a specific version (e.g. main) causes a cache fail, this aims to have stable default version with a second-stage installation of the potentially-modified versions of eicrecon and juggler. This should allow all builds to cache the first installation in virtually all cases, leading to faster builds.