changes
This commit is contained in:
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
FROM alpine:3.22.2
|
||||
|
||||
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
|
||||
LABEL ImageName="bind-hidden-primary"
|
||||
|
||||
RUN apk add --no-cache bind bind-tools bash git openssh-client-default
|
||||
RUN mkdir -p /etc/named-dist
|
||||
|
||||
COPY named.conf /etc/named-dist/
|
||||
COPY whiskeylimahotel.de.zone /etc/named-dist/
|
||||
COPY zones.conf /etc/named-dist/
|
||||
COPY transfer-key.conf /etc/named-dist/
|
||||
COPY start.sh /usr/local/bin/start.sh
|
||||
|
||||
RUN chmod +x /usr/local/bin/start.sh
|
||||
|
||||
WORKDIR /etc/named
|
||||
VOLUME /etc/named/zones
|
||||
VOLUME /etc/named/keys
|
||||
|
||||
EXPOSE 8053/udp
|
||||
EXPOSE 8053/tcp
|
||||
|
||||
CMD [ "/usr/local/bin/start.sh" ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user