Makefile: image build doesn't work without deps

This commit is contained in:
Evgeniy Kulikov 2019-11-15 21:12:37 +03:00
parent 2f8b11dabf
commit 3994d1a943
No known key found for this signature in database
GPG key ID: BF6AEE0A2A699BF2

View file

@ -46,7 +46,7 @@ postinst: install
&& chown -R neo-go:neo-go $(UNITWORKDIR) $(BINDIR)/neo-go \ && chown -R neo-go:neo-go $(UNITWORKDIR) $(BINDIR)/neo-go \
&& systemctl enable neo-go.service && systemctl enable neo-go.service
image: image: deps
@echo "=> Building 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:latest --build-arg REPO=$(REPO) --build-arg VERSION=$(VERSION) .
@docker build -t cityofzion/neo-go:$(VERSION) --build-arg REPO=$(REPO) --build-arg VERSION=$(VERSION) . @docker build -t cityofzion/neo-go:$(VERSION) --build-arg REPO=$(REPO) --build-arg VERSION=$(VERSION) .