mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 00:04:15 -04:00
fix docker build (#673)
This commit is contained in:
committed by
Miek Gieben
parent
fe725f497f
commit
4dc61e67cd
@@ -90,7 +90,7 @@ upload:
|
||||
gh-release create $(GITHUB)/$(NAME) $(VERSION)
|
||||
|
||||
.PHONY: docker-build
|
||||
docker:
|
||||
docker-build:
|
||||
CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w"
|
||||
docker build -t $(DOCKER_IMAGE_NAME) .
|
||||
docker tag $(DOCKER_IMAGE_NAME):latest $(DOCKER_IMAGE_NAME):$(VERSION)
|
||||
|
||||
Reference in New Issue
Block a user