Skip to content

Commit

Permalink
fix: build docker image not work
Browse files Browse the repository at this point in the history
  • Loading branch information
jeessy2 committed Dec 25, 2020
1 parent 37ddbcf commit 3dbcddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ GO=$(GO_ENV) $(shell which go)
GOROOT=$(shell `which go` env GOROOT)
GOPATH=$(shell `which go` env GOPATH)

build: bindata $(DIR_SRC)/main.go
build: init bindata $(DIR_SRC)/main.go
@$(GO) build $(GO_FLAGS) -o $(BIN) $(DIR_SRC)

build_docker_image: clean
build_docker_image:
@$(DOCKER_CMD) build -f ./Dockerfile -t ddns-go:$(VERSION) .

init:
Expand Down

0 comments on commit 3dbcddb

Please sign in to comment.