x86_64-alpine-dnsmasq/Dockerfile
2020-08-16 21:28:21 +08:00

23 lines
556 B
Docker

# Base on latest (edge) alpine image
FROM harbor.ervine.dev/public/x86_64/alpine:v3.12
LABEL "Maintainer Jonathan Ervine <docker@ervine.org>"
# Install updates
ENV LANG='en_US.UTF-8' \
LANGUAGE='en_US.UTF-8' \
TERM='xterm'
RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
apk -U update && \
apk -U upgrade --ignore alpine-baselayout && \
apk -U add \
dnsmasq \
&& \
rm -rf /tmp/src && \
rm -rf /var/cache/apk/*
EXPOSE 53
CMD [ "/usr/sbin/dnsmasq", "-d", "-C", "/config/dnsmasq.conf" ]