Skip to content

Commit

Permalink
remove privileged argument from docker runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wiesenbauer committed Nov 22, 2022
1 parent 540aeaf commit 4dd587d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ __check_defined = \

.PHONY: snapshot
snapshot:
docker run --rm --privileged \
docker run \
--rm \
-v $(PWD):/cross \
-v /var/run/docker.sock:/var/run/docker.sock \
-w /cross \
Expand All @@ -58,8 +59,9 @@ snapshot:
github-release:
@:$(call check_defined, GITHUB_TOKEN)

docker run --rm --privileged \
-e GITHUB_TOKEN=$(GITHUB_TOKEN) \
docker run \
--rm \
-e GITHUB_TOKEN=$(GITHUB_TOKEN) \
-v $(PWD):/cross \
-v /var/run/docker.sock:/var/run/docker.sock \
-w /cross \
Expand Down

0 comments on commit 4dd587d

Please sign in to comment.