tests/docker: use direct RUNC call to run test jobs
If we build them without the script we can certainly run them without it. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230228190653.1602033-22-alex.bennee@linaro.org>
This commit is contained in:
parent
0b1a649047
commit
789bc54117
@ -224,8 +224,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) \
|
||||
|
Loading…
Reference in New Issue
Block a user