diff --git a/Makefile b/Makefile index be5665bc..1bae468d 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,9 @@ GO_BUILD_ENV := CGO_ENABLED=0 GOOS=linux GOARCH=amd64 DOCKER_BUILD=$(shell pwd)/.docker_build DOCKER_CMD=$(DOCKER_BUILD)/go-getting-started + + + $(DOCKER_CMD): clean mkdir -p $(DOCKER_BUILD) $(GO_BUILD_ENV) go build -v -o $(DOCKER_CMD) .