criu/scripts/build
Radostin Stoyanov a72bf212ec scripts: improve layer caching of container builds
The scripts installing dependencies are now copied and executed before
copying the full source tree. This allows to cache the dependency
installation layers as long as these scripts remain unchanged.
Previously, copying the entire repository invalidated the cache on every
source change. While our CI intentionally doesn't preserve cached layers
across independent runs, the changes in this patch help with local testing
when investigating issues.

Examples:
 - sudo -E make -C scripts/ci alpine GCC=1
 - sudo -E make -C scripts/ci alpine CLANG=1

Suggested-by: Andrei Vagin <avagin@google.com>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2026-03-09 08:33:03 -07:00
..
Dockerfile.aarch64-stable-cross.hdr ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.aarch64-stable-cross.tmpl ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.aarch64-unstable-cross.hdr ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.aarch64-unstable-cross.tmpl ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.alpine scripts: improve layer caching of container builds 2026-03-09 08:33:03 -07:00
Dockerfile.amd-rocm criu: use libuuid for criu_run_id generation 2025-03-21 12:40:31 -07:00
Dockerfile.archlinux scripts: improve layer caching of container builds 2026-03-09 08:33:03 -07:00
Dockerfile.armv7-stable-cross.hdr ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.armv7-stable-cross.tmpl ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.armv7-unstable-cross.hdr ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.armv7-unstable-cross.tmpl ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.armv7hf.hdr travis: switch all arm related tests to real hardware 2020-02-04 12:39:04 -08:00
Dockerfile.armv7hf.tmpl travis: switch all arm related tests to real hardware 2020-02-04 12:39:04 -08:00
Dockerfile.fedora-asan.hdr ci: move asan and image streamer test to github 2021-09-03 10:31:00 -07:00
Dockerfile.fedora-asan.tmpl travis: add a job to test on the fedora rawhide 2017-10-17 08:40:44 +03:00
Dockerfile.fedora-rawhide.hdr travis: use Fedora rawhide images from Fedora 2020-10-20 00:18:24 -07:00
Dockerfile.fedora-rawhide.tmpl travis: add a job to test on the fedora rawhide 2017-10-17 08:40:44 +03:00
Dockerfile.fedora.tmpl scripts: improve layer caching of container builds 2026-03-09 08:33:03 -07:00
Dockerfile.hotspot-alpine scripts: improve layer caching of container builds 2026-03-09 08:33:03 -07:00
Dockerfile.hotspot-ubuntu scripts: improve layer caching of container builds 2026-03-09 08:33:03 -07:00
Dockerfile.linux32.tmpl scripts: improve layer caching of container builds 2026-03-09 08:33:03 -07:00
Dockerfile.mips64el-stable-cross.hdr ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.mips64el-stable-cross.tmpl ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.mips64el-unstable-cross.hdr ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.mips64el-unstable-cross.tmpl ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.openj9-ubuntu scripts: improve layer caching of container builds 2026-03-09 08:33:03 -07:00
Dockerfile.ppc64-stable-cross.hdr ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.ppc64-stable-cross.tmpl ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.ppc64-unstable-cross.hdr ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.ppc64-unstable-cross.tmpl ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.riscv64-stable-cross.hdr ci: add workflow for riscv64 2025-03-21 12:40:31 -07:00
Dockerfile.riscv64-stable-cross.tmpl scripts: improve layer caching of container builds 2026-03-09 08:33:03 -07:00
Dockerfile.stable-cross.tmpl scripts: improve layer caching of container builds 2026-03-09 08:33:03 -07:00
Dockerfile.tmpl scripts: improve layer caching of container builds 2026-03-09 08:33:03 -07:00
Dockerfile.unstable-cross.tmpl scripts: improve layer caching of container builds 2026-03-09 08:33:03 -07:00
Dockerfile.x86_64.hdr ci: use package-manager dependency install scripts 2025-11-02 07:48:23 -08:00
Dockerfile.x86_64.tmpl travis: add a job to test on the fedora rawhide 2017-10-17 08:40:44 +03:00
Makefile ci: use package-manager dependency install scripts 2025-11-02 07:48:23 -08:00