From a168f09ac444c578398d10ebf00bbc6c1d24749e Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 29 Aug 2019 16:05:32 +0300 Subject: [PATCH] Makefile: drop deps from image dependencies Docker builds shouldn't run go here to avoid CircleCI failures like this: make: go: Command not found make: *** [Makefile:32: deps] Error 127 Exited with code 2 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 06cb00b08..13d47163e 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ build: deps && export CGO_ENABLED=0 \ && go build -v -mod=vendor -ldflags $(BUILD_FLAGS) -o ${BINARY} ./cli/main.go -image: deps +image: @echo "=> Building image" @docker build -t cityofzion/neo-go:latest --build-arg REPO=$(REPO) --build-arg VERSION=$(VERSION) . @docker build -t cityofzion/neo-go:$(VERSION) --build-arg REPO=$(REPO) --build-arg VERSION=$(VERSION) .