From 3f05a714fc1088768c572120e02e5f0fd8f19a75 Mon Sep 17 00:00:00 2001 From: Hagai Barel Date: Thu, 24 Jan 2019 17:50:47 +0200 Subject: [PATCH] Fix makefile docker target to depand on build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bbabf5d..e485c3c 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ build: fmt vet CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags $(LDFLAGS) -o bin/orca cmd/orca.go # Build orca docker image -docker: fmt vet +docker: build cp bin/orca orca docker build -t nuvo/orca:latest . rm orca