remove --rm flag which default as true.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
70655117a2
commit
d31365c444
2
Makefile
2
Makefile
@ -29,7 +29,7 @@ docker_build:
|
|||||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags="-X main.Version=$(VERSION)"
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags="-X main.Version=$(VERSION)"
|
||||||
|
|
||||||
docker_image:
|
docker_image:
|
||||||
docker build --rm -t $(DEPLOY_ACCOUNT)/$(DEPLOY_IMAGE) .
|
docker build -t $(DEPLOY_ACCOUNT)/$(DEPLOY_IMAGE) .
|
||||||
|
|
||||||
docker: docker_build docker_image
|
docker: docker_build docker_image
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user