mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-27 02:09:06 +02:00
20 lines
360 B
Docker
20 lines
360 B
Docker
|
#
|
||
|
# Dockerfile for dnsmasq-arm
|
||
|
#
|
||
|
|
||
|
FROM easypi/alpine-arm
|
||
|
|
||
|
MAINTAINER EasyPi Software Foundation
|
||
|
|
||
|
RUN set -xe \
|
||
|
&& 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
|
||
|
|
||
|
ENTRYPOINT ["dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"]
|