diff --git a/Makefile b/Makefile index 9ddf378b42..85c0785f0d 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,8 @@ docker_publish_uselagoon = docker tag $(CI_BUILD_TAG)/$(1) uselagoon/$(2) && doc .PHONY: docker_pull docker_pull: - docker images --format "{{.Repository}}:{{.Tag}}" | grep -E '$(UPSTREAM_REPO)' | grep -E '$(UPSTREAM_TAG)' | xargs -L1 docker pull; + docker images --format "{{.Repository}}:{{.Tag}}" | grep -E '$(UPSTREAM_REPO)' | grep -E '$(UPSTREAM_TAG)' | xargs -tn1 -P8 docker pull -q || true; + grep -Eh 'FROM' $$(find . -type f -name *Dockerfile) | grep -Ev '_REPO|_VERSION' | awk '{print $$2}' | sort --unique | xargs -tn1 -P8 docker pull -q ####### ####### Base Images