aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 0 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index ecd690786..75bc40d2c 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,6 @@ BUILD_VERBOSE := -v
TEST_VERBOSE := -v
-DOCKER_IMAGE_NAME ?= $$USER/coredns
-DOCKER_VERSION ?= $(shell grep 'coreVersion' coremain/version.go | awk '{ print $$3 }' | tr -d '"')
-
all: coredns
# Phony this to ensure we always build the binary.
@@ -13,12 +10,6 @@ all: coredns
coredns: deps core/zmiddleware.go core/dnsserver/zdirectives.go
go build $(BUILD_VERBOSE) -ldflags="-s -w"
-.PHONY: docker
-docker: deps
- 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):$(DOCKER_VERSION)
-
.PHONY: deps
deps: fmt
go get ${BUILD_VERBOSE}