Initial commit for creating core dns image
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM alpine:edge
|
||||
|
||||
RUN apk --no-cache add dnsmasq
|
||||
|
||||
EXPOSE 53/udp
|
||||
EXPOSE 67/udp
|
||||
EXPOSE 68/udp
|
||||
|
||||
RUN mkdir -p /etc/dnsmasq.d/config
|
||||
COPY dns.conf /etc/dnsmasq.d/ && \
|
||||
dhcp-conf /etc/dnsmasq.d/ && \
|
||||
dhcp-reservations.conf /etc/dnsmasq.d/ && \
|
||||
hosts.local /etc/dnsmasq.d/ && \
|
||||
|
||||
COPY entrypoint.sh /
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
Reference in New Issue
Block a user