need the workspace

This commit is contained in:
James Strong 2022-06-15 14:15:27 -04:00
parent f5d3ab4505
commit 72705c21aa
No known key found for this signature in database
GPG key ID: 11048BF1C893BC89

View file

@ -77,7 +77,7 @@ image: clean-image ## Build image for a particular arch.
.PHONY: gosec .PHONY: gosec
gosec: gosec:
docker run --mount type=bind,source="$(pwd)"/,target=/source securego/gosec:2.11.0 -exclude=G109,G601,G104,G204,G304,G306,G307 -tests=false -exclude-dir=test -exclude-dir=images/ -exclude-dir=docs/ /source/... docker run --rm -it -w /source/ -v "$(pwd)"/:/source securego/gosec:2.11.0 -exclude=G109,G601,G104,G204,G304,G306,G307 -tests=false -exclude-dir=test -exclude-dir=images/ -exclude-dir=docs/ /source/...
.PHONY: image-chroot .PHONY: image-chroot
image-chroot: clean-chroot-image ## Build image for a particular arch. image-chroot: clean-chroot-image ## Build image for a particular arch.