diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-31 09:21:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 09:21:51 -0400 |
commit | 4cff7803224bcbd800fa491dd7cbc3134e3976d3 (patch) | |
tree | 693547977a50d1e1d9816bb4309f672abd9b30ed | |
parent | 6bda96ab183d5499b20bff2310ad0847c89de2c5 (diff) | |
parent | dcb4d43570e852d9a87221d1ca83c205fa32d5a3 (diff) | |
download | podman-4cff7803224bcbd800fa491dd7cbc3134e3976d3.tar.gz podman-4cff7803224bcbd800fa491dd7cbc3134e3976d3.tar.bz2 podman-4cff7803224bcbd800fa491dd7cbc3134e3976d3.zip |
Merge pull request #15479 from dcermak/don-t-use-privileged-containers
Makefile: Mount . with --security-opt label=disable instead of using --privileged
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -285,8 +285,9 @@ vendor: .PHONY: vendor-in-container vendor-in-container: - podman run --privileged --rm --env HOME=/root \ + podman run --rm --env HOME=/root \ -v $(CURDIR):/src -w /src \ + --security-opt label=disable \ docker.io/library/golang:1.17 \ make vendor |