Skip to content

Commit 5ba418c

Browse files
committed
Attempt to fix pr check via SELinux relabling the volume mount
* https://github.com/containers/podman/blob/main/troubleshooting.md#2-cant-use-volume-mount-get-permission-denied Signed-off-by: Michael Shen <[email protected]>
1 parent 59e8d08 commit 5ba418c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ serve:
6666

6767
.PHONY: vet
6868
vet:
69-
$(AT)gofmt -s -l $(shell go list -f '{{ .Dir }}' ./... ) | grep ".*\.go"; if [ "$$?" = "0" ]; then gofmt -s -d $(shell go list -f '{{ .Dir }}' ./... ); exit 1; fi
69+
$(AT)go fmt ./...
7070
$(AT)go vet ./cmd/... ./pkg/...
7171

7272
.PHONY: generate
@@ -138,7 +138,7 @@ $(PACKAGE_RESOURCE_DESTINATION):
138138
.PHONY: container-test
139139
container-test:
140140
$(CONTAINER_ENGINE) run \
141-
-v $(CURDIR):$(CURDIR) \
141+
-v $(CURDIR):$(CURDIR):z \
142142
-w $(CURDIR) \
143143
-e GOFLAGS=$(GOFLAGS) \
144144
--rm \

0 commit comments

Comments
 (0)