Sprinkle some sudo

This commit is contained in:
3wc 2021-05-29 23:37:16 +02:00
parent a1534a244a
commit 8a4f82ba84

View File

@ -8,12 +8,12 @@ test:
--name=abra-test-dind \ --name=abra-test-dind \
-e DOCKER_TLS_CERTDIR="" \ -e DOCKER_TLS_CERTDIR="" \
decentral1se/docker-dind-bats-kcov decentral1se/docker-dind-bats-kcov
@DOCKER_CONTEXT=default docker exec \ @DOCKER_CONTEXT=default sudo docker exec \
-it \ -it \
abra-test-dind \ abra-test-dind \
sh -c "cd /workdir && bats /workdir/tests" sh -c "cd /workdir && bats /workdir/tests"
@DOCKER_CONTEXT=default docker stop abra-test-dind @DOCKER_CONTEXT=default sudo docker stop abra-test-dind
@DOCKER_CONTEXT=default docker rm abra-test-dind @DOCKER_CONTEXT=default sudo docker rm abra-test-dind
shellcheck: shellcheck:
@docker run \ @docker run \