1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-24 05:17:06 +02:00
dockerfiles/dnsmasq/Dockerfile

20 lines
350 B
Docker
Raw Normal View History

2016-04-14 01:36:03 +08:00
#
# Dockerfile for dnsmasq
#
FROM alpine
2016-07-12 13:43:54 +08:00
2017-05-08 07:05:07 +08:00
MAINTAINER kev <norelply@easypi.pro>
2016-04-14 01:36:03 +08:00
RUN set -xe \
2020-11-14 05:37:47 +01:00
&& apk add --no-cache dnsmasq-dnssec \
2021-01-26 13:48:02 +08:00
&& echo "conf-dir=/etc/dnsmasq.d,*.conf" >> /etc/dnsmasq.conf
2016-04-14 01:36:03 +08:00
VOLUME /etc/dnsmasq.d
2016-07-12 13:43:54 +08:00
EXPOSE 53/tcp \
53/udp \
67/udp
2016-04-14 01:36:03 +08:00
2016-07-12 13:43:54 +08:00
ENTRYPOINT ["dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"]