1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-24 07:48:38 +00:00
dockerfiles/dnsmasq/Dockerfile
2021-01-26 13:48:02 +08:00

20 lines
350 B
Docker

#
# Dockerfile for dnsmasq
#
FROM alpine
MAINTAINER kev <norelply@easypi.pro>
RUN set -xe \
&& apk add --no-cache dnsmasq-dnssec \
&& echo "conf-dir=/etc/dnsmasq.d,*.conf" >> /etc/dnsmasq.conf
VOLUME /etc/dnsmasq.d
EXPOSE 53/tcp \
53/udp \
67/udp
ENTRYPOINT ["dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"]