fix(bind9): missing entrypoint

This commit is contained in:
ange 2024-02-06 11:07:07 +01:00
parent 1ded407b60
commit ab47e6a9c5
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,9 @@ RUN apt-get update \
bind9-dnsutils \ bind9-dnsutils \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
COPY named.conf.options /etc/bind/ COPY named.conf.options /etc/bind/
COPY entrypoint.sh /usr/local/bin/
VOLUME /var/cache/bind/ VOLUME /var/cache/bind/
EXPOSE 53/tcp 53/udp 8443/tcp
RUN chown -R root:bind /etc/bind/ /var/cache/bind/ RUN chown -R root:bind /etc/bind/ /var/cache/bind/
EXPOSE 53/tcp 53/udp 8443/tcp
ENTRYPOINT ["entrypoint.sh"]
CMD ["named", "-g", "-ubind"] CMD ["named", "-g", "-ubind"]

0
bind9/entrypoint.sh Normal file → Executable file
View File