This commit is contained in:
parent
450cc8b6c9
commit
d454f530cc
|
@ -1,6 +1,6 @@
|
|||
FROM ubuntu/bind9:9.18-22.04_beta
|
||||
|
||||
LABEL version="20240513.1.1"
|
||||
LABEL version="20240513.1.2"
|
||||
LABEL description="bind9 primary nameserver"
|
||||
|
||||
ENV BIND_LIB_DIR=/var/lib/bind
|
||||
|
@ -13,4 +13,6 @@ RUN apt update && apt -y upgrade
|
|||
COPY primary/etc/bind/named.conf $BIND_ETC_DIR/named.conf
|
||||
COPY primary/var/lib/bind $BIND_LIB_DIR
|
||||
|
||||
|
||||
RUN chown -R bind:bind $BIND_ETC_DIR
|
||||
RUN chown -R bind:bind $BIND_LIB_DIR
|
||||
RUN chown -R bind:bind /var/cache/bind
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM ubuntu/bind9:9.18-22.04_beta
|
||||
|
||||
LABEL version="20240513.1.1"
|
||||
LABEL version="20240515.1.2"
|
||||
LABEL description="bind9 secondary nameserver"
|
||||
|
||||
ENV BIND_LIB_DIR=/var/lib/bind
|
||||
|
@ -11,5 +11,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||
RUN apt update && apt -y upgrade
|
||||
|
||||
COPY secondary/etc/bind/named.conf $BIND_ETC_DIR/named.conf
|
||||
RUN chown -R bind:bind $BIND_ETC_DIR
|
||||
RUN chown -R bind:bind $BIND_LIB_DIR
|
||||
RUN chown -R bind:bind /var/cache/bind
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue