From 6ab70cb006ae4c8391609ca94e9dc8ecd14099fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Tue, 27 Aug 2024 10:06:51 +0200 Subject: [PATCH] Don't generate the rndc.key file - it would be same in all images --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c657d2..e11667a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -81,10 +81,6 @@ RUN mkdir -p /etc/bind && chown root:bind /etc/bind/ && chmod 755 /etc/bind COPY named.conf /etc/bind RUN chown root:bind /etc/bind/named.conf && chmod 644 /etc/bind/named.conf -# Generate the default RNDC key -RUN rndc-confgen -a -RUN chown root:bind /etc/bind/rndc.key && chmod 644 /etc/bind/rndc.key - # Create working directory RUN mkdir -p /var/cache/bind && chown bind:bind /var/cache/bind && chmod 755 /var/cache/bind