godns/docker/Dockerfile

14 lines
263 B
Docker

FROM alpine:3.7
MAINTAINER Tyler Stuyfzand <tyler@tystuyfzand.com>
EXPOSE 53
RUN apk --no-cache add tini
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["godns"]
COPY etc/godns.conf /etc/godns.conf
COPY godns /usr/local/bin/godns
RUN chmod +x /usr/local/bin/godns