mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Makefile.docker: Fix example (#4868)
fix make example, remove stray comments Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#
|
||||
# export DOCKER_PASSWORD=<pass>
|
||||
# export DOCKER_LOGIN=miek
|
||||
# make DOCKER=miek -f Makefile.release release docker-push
|
||||
# make VERSION=x.y.z DOCKER=miek -f Makefile.docker release docker-push
|
||||
|
||||
ifeq (, $(shell which curl))
|
||||
$(error "No curl in $$PATH, please install")
|
||||
@@ -65,8 +65,6 @@ ifeq ($(DOCKER),)
|
||||
$(error "Please specify Docker registry to use. Use DOCKER=coredns for releases")
|
||||
else
|
||||
docker version
|
||||
@# 1. Copy appropriate coredns binary to build/docker/linux/<arch>
|
||||
@# 2. Copy Dockerfile to build/docker/linux/<arch>
|
||||
for arch in $(LINUX_ARCH); do \
|
||||
docker build -t $(DOCKER_IMAGE_NAME)-$${arch}:$(VERSION) build/docker/$${arch} && \
|
||||
docker tag $(DOCKER_IMAGE_NAME)-$${arch}:$(VERSION) $(DOCKER_IMAGE_NAME)-$${arch}:latest ;\
|
||||
|
||||
Reference in New Issue
Block a user