You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-08-08 22:27:53 +02:00
add dnsmasq
This commit is contained in:
18
dnsmasq/Dockerfile
Normal file
18
dnsmasq/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Dockerfile for dnsmasq
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <norelply@datageek.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", "--user=dnsmasq", "--group=dnsmasq"]
|
Reference in New Issue
Block a user