From d31365c4444616058dfb57e8a30c85f7d5071a91 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 27 Nov 2016 16:39:31 +0800 Subject: [PATCH] remove --rm flag which default as true. Signed-off-by: Bo-Yi Wu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b4e157e..33048ba 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ docker_build: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags="-X main.Version=$(VERSION)" docker_image: - docker build --rm -t $(DEPLOY_ACCOUNT)/$(DEPLOY_IMAGE) . + docker build -t $(DEPLOY_ACCOUNT)/$(DEPLOY_IMAGE) . docker: docker_build docker_image