1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 09:18:43 +00:00
dockerfiles/dnsmasq/Dockerfile

19 lines
394 B
Docker
Raw Normal View History

2016-04-13 17:36:03 +00:00
#
# Dockerfile for dnsmasq
#
FROM alpine
2016-05-01 01:06:20 +00:00
MAINTAINER kev <norelply@easypi.info>
2016-04-13 17:36:03 +00:00
RUN set -xe \
&& apk add -U dnsmasq \
&& echo "conf-dir=/etc/dnsmasq.d/,*.conf" >> /etc/dnsmasq.conf \
&& mkdir -p /etc/dnsmasq.d \
&& rm -rf /var/cache/apk/*
VOLUME /etc/dnsmasq.d
EXPOSE 53/tcp 53/udp 67/udp
2016-04-13 18:00:10 +00:00
ENTRYPOINT ["/usr/sbin/dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"]