2016-04-13 19:36:03 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for dnsmasq
|
|
|
|
#
|
|
|
|
|
2022-08-19 11:37:46 +02:00
|
|
|
FROM alpine:3
|
|
|
|
MAINTAINER EasyPi Software Foundation
|
2016-04-13 19:36:03 +02:00
|
|
|
|
|
|
|
RUN set -xe \
|
2020-11-14 06:37:47 +02:00
|
|
|
&& apk add --no-cache dnsmasq-dnssec \
|
2023-05-19 03:34:10 +02:00
|
|
|
&& echo "conf-dir=/etc/dnsmasq.d,*.conf" >> /etc/dnsmasq.conf \
|
|
|
|
&& dnsmasq --version
|
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
|
|
|
|
2023-04-08 05:33:17 +02:00
|
|
|
ENTRYPOINT ["dnsmasq", "--keep-in-foreground", "--user=dnsmasq", "--group=dnsmasq"]
|