This commit is contained in:
@@ -5,10 +5,6 @@ LABEL ImageName="knot-dns-hidden-primary"
|
|||||||
|
|
||||||
RUN apk add --no-cache knot knot-utils bash git openssh-client-default
|
RUN apk add --no-cache knot knot-utils bash git openssh-client-default
|
||||||
|
|
||||||
# Create necessary directories
|
|
||||||
RUN mkdir -p /etc/knot /var/lib/knot/keys /var/lib/knot/zones
|
|
||||||
|
|
||||||
# Copy configuration and zone files
|
|
||||||
COPY knot.conf /etc/knot/knot.conf
|
COPY knot.conf /etc/knot/knot.conf
|
||||||
COPY my-dnssec-test-domain.de.zone /var/lib/knot/my-dnssec-test-domain.de.zone
|
COPY my-dnssec-test-domain.de.zone /var/lib/knot/my-dnssec-test-domain.de.zone
|
||||||
|
|
||||||
@@ -18,6 +14,9 @@ RUN chown -R knot:knot /etc/knot /var/lib/knot
|
|||||||
VOLUME /etc/knot
|
VOLUME /etc/knot
|
||||||
VOLUME /var/lib/knot
|
VOLUME /var/lib/knot
|
||||||
|
|
||||||
|
COPY knot.conf /etc/knot/knot.conf
|
||||||
|
COPY my-dnssec-test-domain.de.zone /var/lib/knot/my-dnssec-test-domain.de.zone
|
||||||
|
|
||||||
USER knot
|
USER knot
|
||||||
|
|
||||||
WORKDIR /var/lib/knot
|
WORKDIR /var/lib/knot
|
||||||
|
|||||||
Reference in New Issue
Block a user