initial
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
quackerd 2022-08-08 11:01:02 +02:00
parent 97e0a7abbe
commit 02cc78f27d

View File

@ -4,12 +4,12 @@ RUN set -xe \
&& apk add --no-cache bind \
&& chmod +x /opt/run.sh
RUN mkdir -p /etc/bind && chown root:bind /etc/bind/ && chmod 755 /etc/bind
RUN mkdir -p /var/cache/bind && chown bind:bind /var/cache/bind && chmod 755 /var/cache/bind
RUN mkdir -p /var/lib/bind && chown bind:bind /var/lib/bind && chmod 755 /var/lib/bind
RUN mkdir -p /var/log/bind && chown bind:bind /var/log/bind && chmod 755 /var/log/bind
RUN mkdir -p /run/named && chown bind:bind /run/named && chmod 755 /run/named
RUN mkdir -p /etc/bind
RUN mkdir -p /var/cache/bind
RUN mkdir -p /var/lib/bind
RUN mkdir -p /var/log/bind
RUN mkdir -p /run/named
VOLUME ["/etc/bind", "/var/cache/bind", "/var/lib/bind", "/var/log"]
CMD ["/opt/run.sh"]
EXPOSE ["53/udp", "53/tcp", "953/tcp"]
EXPOSE 53/udp 53/tcp 953/tcp