1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 13:58:42 +00:00
dockerfiles/dnsmasq/Dockerfile

20 lines
353 B
Docker
Raw Normal View History

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