parent
982377516b
commit
da447e28f4
2 changed files with 16 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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"]
|
7
Makefile
Normal file
7
Makefile
Normal file
|
@ -0,0 +1,7 @@
|
|||
all:
|
||||
go build
|
||||
|
||||
.PHONY: docker
|
||||
docker:
|
||||
GOOS=linux go build -a -tags netgo -installsuffix netgo
|
||||
docker build -t $$USER/coredns .
|
Loading…
Add table
Reference in a new issue