mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 12:23:34 -05:00
![]() By setting DANGER_DOCKER_BUILD_CACHE_HOST_DIR, the task-specific docker images built during the CI run can be cached. This allows, for example, ephemeral CI runners to reuse the docker images (or layers of it) from earlier runs, by persisting the image cache before the ephemeral CI runner is shut down. The cache keyed by `CONTAINER_NAME`. As --cache-to doesn't remove old cache files, the existing cache is removed after a successful `docker build` and the newly cached image is moved to it's location to avoid the cache from growing indefinitly with old, unused layers. When --cache-from doesn't find the directory, the cached version is a cache-miss, or the cache can't be imported for whatever other reason, it warns and `docker build` continues by building the docker image. This feature is opt-in. The documentation for the cache type=local can be found https://docs.docker.com/build/cache/backends/local/ This replaces https://github.com/bitcoin/bitcoin/pull/31377 |
||
---|---|---|
.. | ||
00_setup_env.sh | ||
00_setup_env_arm.sh | ||
00_setup_env_i686_centos.sh | ||
00_setup_env_i686_multiprocess.sh | ||
00_setup_env_mac_cross.sh | ||
00_setup_env_mac_native.sh | ||
00_setup_env_mac_native_fuzz.sh | ||
00_setup_env_native_asan.sh | ||
00_setup_env_native_fuzz.sh | ||
00_setup_env_native_fuzz_with_msan.sh | ||
00_setup_env_native_fuzz_with_valgrind.sh | ||
00_setup_env_native_msan.sh | ||
00_setup_env_native_nowallet_libbitcoinkernel.sh | ||
00_setup_env_native_previous_releases.sh | ||
00_setup_env_native_tidy.sh | ||
00_setup_env_native_tsan.sh | ||
00_setup_env_native_valgrind.sh | ||
00_setup_env_s390x.sh | ||
00_setup_env_win64.sh | ||
01_base_install.sh | ||
02_run_container.sh | ||
03_test_script.sh | ||
GetCMakeLogFiles.cmake | ||
wrap-valgrind.sh | ||
wrap-wine.sh |