mirror of https://github.com/docker/docs.git
Windows: remove unused images
Signed-off-by: Akim Demaille <akim.demaille@docker.com>
This commit is contained in:
parent
e482aeec60
commit
25766041fa
|
@ -0,0 +1,10 @@
|
||||||
|
.PHONY:
|
||||||
|
check:
|
||||||
|
for img in $$(git ls-files images); do \
|
||||||
|
base=$$(basename "$$img"); \
|
||||||
|
if ! git grep -q -F "$$base"; then \
|
||||||
|
echo >&2 "unused image: $$img"; \
|
||||||
|
pass=false; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
$$pass
|
Binary file not shown.
Before Width: | Height: | Size: 108 KiB |
Loading…
Reference in New Issue