On 28/04/2025 14.59, Alex Bennée wrote:
If you want to run functional tests we should share .cache so we don't
force containers to continually re-download images.

Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
---
  tests/docker/Makefile.include | 1 +
  1 file changed, 1 insertion(+)

diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index fa1cbb6726..56a8d9f8ff 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -224,6 +224,7 @@ docker-run: docker-qemu-src
                        $(if $(NOUSER),,                                \
                                -e CCACHE_DIR=/var/tmp/ccache           \
                                -v $(DOCKER_CCACHE_DIR):/var/tmp/ccache:z \
+                               -v $(HOME)/.cache:$(HOME)/.cache        \

Maybe better restrict it to ~/.cache/qemu ? ... to avoid sharing other subfolders there to the container?

 Thomas


Reply via email to