godns/Dockerfile

14 lines
274 B
Docker

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