1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:34 +02:00
dockerfiles/dnsmasq/Dockerfile

20 lines
345 B
Docker
Raw Normal View History

2016-04-13 19:36:03 +02:00
#
# Dockerfile for dnsmasq
#
FROM alpine
2016-07-12 07:43:54 +02:00
2016-05-01 03:06:20 +02:00
MAINTAINER kev <norelply@easypi.info>
2016-04-13 19:36:03 +02:00
RUN set -xe \
2016-07-12 07:43:54 +02:00
&& apk add --no-cache dnsmasq \
&& echo "conf-dir=/etc/dnsmasq.d/,*.conf" >> /etc/dnsmasq.conf
2016-04-13 19:36:03 +02:00
VOLUME /etc/dnsmasq.d
2016-07-12 07:43:54 +02:00
EXPOSE 53/tcp \
53/udp \
67/udp
2016-04-13 19:36:03 +02:00
2016-07-12 07:43:54 +02:00
ENTRYPOINT ["dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"]