feat: install most dependencies in cacheable layer, before adding main
Compare changes
Files
11+ 40
− 19
@@ -72,28 +72,49 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
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.