1
0
mirror of https://github.com/containous/traefik.git synced 2024-12-22 13:34:03 +03:00

CI: speed up pull images.

This commit is contained in:
Ludovic Fernandez 2017-09-22 16:46:03 +02:00 committed by Traefiker
parent 9db12374ea
commit 058fa1367b

View File

@ -114,7 +114,7 @@ fmt:
gofmt -s -l -w $(SRCS)
pull-images:
cat ./integration/resources/compose/*.yml | grep -E '^\s+image:' | awk '{print $$2}' | sort | uniq | xargs -n 1 docker pull
cat ./integration/resources/compose/*.yml | grep -E '^\s+image:' | awk '{print $$2}' | sort | uniq | xargs -P 6 -n 1 docker pull
help: ## this help
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)