fix dockerfile 2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-10-24 20:35:17 +02:00
parent e9e876343c
commit 6088aaaac9

View File

@@ -5,10 +5,6 @@ LABEL ImageName="knot-dns-hidden-primary"
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 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 /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
WORKDIR /var/lib/knot