mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-14 11:23:34 +02:00
19 lines
394 B
Docker
19 lines
394 B
Docker
#
|
|
# Dockerfile for dnsmasq
|
|
#
|
|
|
|
FROM alpine
|
|
MAINTAINER kev <norelply@easypi.info>
|
|
|
|
RUN set -xe \
|
|
&& apk add -U dnsmasq \
|
|
&& echo "conf-dir=/etc/dnsmasq.d/,*.conf" >> /etc/dnsmasq.conf \
|
|
&& mkdir -p /etc/dnsmasq.d \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
VOLUME /etc/dnsmasq.d
|
|
|
|
EXPOSE 53/tcp 53/udp 67/udp
|
|
|
|
ENTRYPOINT ["/usr/sbin/dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"]
|