Commit 982daa04 authored by Chris O'Haver's avatar Chris O'Haver Committed by GitHub

Makefile.docker: Fix example (#4868)

fix make example, remove stray comments
Signed-off-by: default avatarChris O'Haver <cohaver@infoblox.com>
parent 6496b19e
......@@ -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 ;\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment