x86_64-alpine-dnsmasq/Dockerfile
Jonathan Ervine de2a0f3f18 new file: Dockerfile
new file:   Jenkinsfile
2020-07-09 22:38:27 +08:00

23 lines
534 B
Docker

# Base on latest (edge) alpine image
FROM harbor.ervine.dev/library/x86_64/alpine/alpine:3.12
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 && \
apk -U add \
dnsmasq \
&& \
rm -rf /tmp/src && \
rm -rf /var/cache/apk/*
EXPOSE 53
CMD [ "/usr/sbin/dnsmasq", "-d", "-C", "/config/dnsmasq.conf" ]