[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 02/32] tests/docker: all add DOCKER_BUILDKIT to RUNC environme
From: |
Alex Bennée |
Subject: |
[PATCH v2 02/32] tests/docker: all add DOCKER_BUILDKIT to RUNC environment |
Date: |
Wed, 15 Mar 2023 17:43:01 +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>
---
tests/docker/Makefile.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
- [PATCH v2 00/32] tweaks and fixes for 8.0-rc1 (tests, plugins, docs), Alex Bennée, 2023/03/15
- [PATCH v2 01/32] tests/avocado: update AArch64 tests to Alpine 3.17.2, Alex Bennée, 2023/03/15
- [PATCH v2 02/32] tests/docker: all add DOCKER_BUILDKIT to RUNC environment,
Alex Bennée <=
- [PATCH v2 03/32] scripts/ci: add libslirp-devel to build-environment, Alex Bennée, 2023/03/15
- [PATCH v2 04/32] scripts/ci: update gitlab-runner playbook to handle CentOS, Alex Bennée, 2023/03/15
- [PATCH v2 05/32] gitlab: update centos-8-stream job, Alex Bennée, 2023/03/15
- [PATCH v2 07/32] tests/tcg: add some help output for running individual tests, Alex Bennée, 2023/03/15
- [PATCH v2 06/32] include/qemu: add documentation for memory callbacks, Alex Bennée, 2023/03/15
- [PATCH v2 15/32] *: Add missing includes of qemu/plugin.h, Alex Bennée, 2023/03/15