[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/31] tests/docker: all add DOCKER_BUILDKIT to RUNC environment
From: |
Alex Bennée |
Subject: |
[PULL 02/31] tests/docker: all add DOCKER_BUILDKIT to RUNC environment |
Date: |
Sat, 18 Mar 2023 11:46:15 +0000 |
It seems we also need to pass DOCKER_BUILDKIT as an argument to docker
itself to get the full benefit of caching.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Tested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230315174331.2959-3-alex.bennee@linaro.org>
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 54ed77f671..9401525325 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -39,7 +39,7 @@ docker-qemu-src: $(DOCKER_SRC_COPY)
# General rule for building docker images.
docker-image-%: $(DOCKER_FILES_DIR)/%.docker
$(call quiet-command, \
- $(RUNC) build \
+ DOCKER_BUILDKIT=1 $(RUNC) build \
$(if $V,,--quiet) \
$(if $(NOCACHE),--no-cache, \
$(if $(DOCKER_REGISTRY),--cache-from
$(DOCKER_REGISTRY)/qemu/$*)) \
--
2.39.2
- [PULL 00/31] various fixes (testing, plugins, gitdm), Alex Bennée, 2023/03/18
- [PULL 07/31] tests/tcg: add some help output for running individual tests, Alex Bennée, 2023/03/18
- [PULL 03/31] scripts/ci: add libslirp-devel to build-environment, Alex Bennée, 2023/03/18
- [PULL 02/31] tests/docker: all add DOCKER_BUILDKIT to RUNC environment,
Alex Bennée <=
- [PULL 04/31] scripts/ci: update gitlab-runner playbook to handle CentOS, Alex Bennée, 2023/03/18
- [PULL 01/31] tests/avocado: update AArch64 tests to Alpine 3.17.2, Alex Bennée, 2023/03/18
- [PULL 10/31] tcg: Drop plugin_gen_disable_mem_helpers from tcg_gen_exit_tb, Alex Bennée, 2023/03/18
- [PULL 05/31] gitlab: update centos-8-stream job, Alex Bennée, 2023/03/18
- [PULL 09/31] tcg: Clear plugin_mem_cbs on TB exit, Alex Bennée, 2023/03/18
- [PULL 08/31] tests/avocado: don't use tags to define drive, Alex Bennée, 2023/03/18
- [PULL 06/31] include/qemu: add documentation for memory callbacks, Alex Bennée, 2023/03/18
- [PULL 11/31] include/qemu/plugin: Remove QEMU_PLUGIN_ASSERT, Alex Bennée, 2023/03/18