[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/7] tests/docker: use direct RUNC call to run test jobs
From: |
Alex Bennée |
Subject: |
[PATCH 6/7] tests/docker: use direct RUNC call to run test jobs |
Date: |
Fri, 24 Feb 2023 18:08:56 +0000 |
If we build them without the script we can certainly run them without
it.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/docker/Makefile.include | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 9e73ff5cf3..cee1b34703 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -223,8 +223,9 @@ docker-run: docker-qemu-src
$(IMAGE) --executable $(EXECUTABLE), \
" COPYING $(EXECUTABLE) to $(IMAGE)"))
$(call quiet-command, \
- $(DOCKER_SCRIPT) run \
- $(if $(NOUSER),,--run-as-current-user) \
+ $(RUNC) run \
+ --rm \
+ $(if $(NOUSER),,-u $(UID)) \
--security-opt seccomp=unconfined \
$(if $(DEBUG),-ti,) \
$(if $(NETWORK),$(if $(subst
$(NETWORK),,1),--net=$(NETWORK)),--net=none) \
--
2.39.1
- [PATCH 0/7] testing/next: docker.py removal and kaniko updates, Alex Bennée, 2023/02/24
- [PATCH 1/7] configure: expose the direct container command, Alex Bennée, 2023/02/24
- [PATCH 2/7] tests/dockerfiles: unify debian-toolchain references, Alex Bennée, 2023/02/24
- [PATCH 7/7] tests/gitlab: use kaniko to build images, Alex Bennée, 2023/02/24
- [PATCH 6/7] tests/docker: use direct RUNC call to run test jobs,
Alex Bennée <=
- [PATCH 3/7] tests/lcitool: append user setting stanza to dockerfiles, Alex Bennée, 2023/02/24
- [PATCH 4/7] tests/docker: add USER stanzas to non-lci images, Alex Bennée, 2023/02/24
- [PATCH 5/7] tests/docker: use direct RUNC call to build containers, Alex Bennée, 2023/02/24