new file: Dockerfile

new file:   Jenkinsfile
This commit is contained in:
Jonathan Ervine
2020-07-09 22:38:27 +08:00
parent 864f3a651d
commit de2a0f3f18
2 changed files with 39 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# 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" ]