From a941739f8a94c050f287a6b04e4a88eee3fb4502 Mon Sep 17 00:00:00 2001 From: SALLEYRON Julien Date: Wed, 20 Sep 2017 20:02:02 +0200 Subject: [PATCH] Change pull image command in Makefile --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3d027bcdf..5799a0822 100644 --- a/Makefile +++ b/Makefile @@ -114,9 +114,7 @@ fmt: gofmt -s -l -w $(SRCS) pull-images: - for f in $(shell find ./integration/resources/compose/ -type f); do \ - docker-compose -f $$f pull; \ - done + cat ./integration/resources/compose/*.yml | grep -E '^\s+image:' | awk '{print $$2}' | sort | uniq | xargs -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)