Commit da447e28 authored by Miek Gieben's avatar Miek Gieben

Add Dockerfile (#116)

Add some docker bits and a Makefile.
parent 98237751
FROM alpine:latest
MAINTAINER Miek Gieben <miek@miek.nl> @miekg
RUN apk --update add bind-tools && rm -rf /var/cache/apk/*
ADD coredns /coredns
EXPOSE 53 53/udp
ENTRYPOINT ["/coredns"]
all:
go build
.PHONY: docker
docker:
GOOS=linux go build -a -tags netgo -installsuffix netgo
docker build -t $$USER/coredns .
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