You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-08-10 22:31:28 +02:00
update dnsmasq
This commit is contained in:
@@ -3,16 +3,17 @@
|
||||
#
|
||||
|
||||
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/*
|
||||
&& apk add --no-cache dnsmasq \
|
||||
&& echo "conf-dir=/etc/dnsmasq.d/,*.conf" >> /etc/dnsmasq.conf
|
||||
|
||||
VOLUME /etc/dnsmasq.d
|
||||
|
||||
EXPOSE 53/tcp 53/udp 67/udp
|
||||
EXPOSE 53/tcp \
|
||||
53/udp \
|
||||
67/udp
|
||||
|
||||
ENTRYPOINT ["/usr/sbin/dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"]
|
||||
ENTRYPOINT ["dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"]
|
||||
|
Reference in New Issue
Block a user