Docker: added a container-diff helper.
It's useful to check whether resulting images have unexpected build leftovers. Requires https://github.com/GoogleContainerTools/container-diff in $PATH.
This commit is contained in:
@@ -159,6 +159,11 @@ library:
|
||||
previous=$$(echo $$mod | tr -d '.0123456789-'); \
|
||||
done
|
||||
|
||||
diff: $(addprefix diff-, $(MODVERSIONS))
|
||||
|
||||
diff-%:
|
||||
@echo container-diff diff --type file daemon://$(CONTAINER_$*) daemon://unit:$(VERSION)-$*
|
||||
|
||||
all: $(addprefix Dockerfile., $(MODVERSIONS))
|
||||
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user