mirror of
https://github.com/anchore/syft.git
synced 2026-02-13 11:06:43 +01:00
Add the -r argument for gnu xargs (#1103)
This commit is contained in:
parent
922663c987
commit
00e12329d0
2
Makefile
2
Makefile
@ -369,7 +369,7 @@ clean-test-image-tar-cache: ## Delete all test cache (built docker image tars)
|
|||||||
|
|
||||||
.PHONY: clear-test-image-docker-cache
|
.PHONY: clear-test-image-docker-cache
|
||||||
clean-test-image-docker-cache: ## Purge all test docker images
|
clean-test-image-docker-cache: ## Purge all test docker images
|
||||||
docker images --format '{{.ID}} {{.Repository}}' | grep stereoscope-fixture- | awk '{print $$1}' | uniq | xargs docker rmi --force
|
docker images --format '{{.ID}} {{.Repository}}' | grep stereoscope-fixture- | awk '{print $$1}' | uniq | xargs -r docker rmi --force
|
||||||
|
|
||||||
.PHONY: show-test-image-cache
|
.PHONY: show-test-image-cache
|
||||||
show-test-image-cache: ## Show all docker and image tar cache
|
show-test-image-cache: ## Show all docker and image tar cache
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user