1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/dnsmasq/Dockerfile
2023-05-19 09:34:10 +08:00

20 lines
388 B
Docker

#
# Dockerfile for dnsmasq
#
FROM alpine:3
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache dnsmasq-dnssec \
&& echo "conf-dir=/etc/dnsmasq.d,*.conf" >> /etc/dnsmasq.conf \
&& dnsmasq --version
VOLUME /etc/dnsmasq.d
EXPOSE 53/tcp \
53/udp \
67/udp
ENTRYPOINT ["dnsmasq", "--keep-in-foreground", "--user=dnsmasq", "--group=dnsmasq"]