fix dockerfile 14
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2025-10-24 21:23:17 +02:00
parent e6ac6bb34f
commit 396a678e7b

View File

@@ -5,11 +5,18 @@ LABEL ImageName="knot-dns-hidden-primary"
RUN apk add --no-cache knot knot-utils bash git openssh-client-default
# Create distribution directories for config templates
RUN mkdir -p /etc/knot-dist /var/lib/knot-dist
VOLUME /etc/knot
VOLUME /var/lib/knot
COPY knot.conf /etc/knot/
COPY my-dnssec-test-domain.de.zone /var/lib/knot/
COPY knot.conf /etc/knot-dist/
COPY my-dnssec-test-domain.de.zone /var/lib/knot-dist/
COPY start.sh /usr/local/bin/start.sh
# Make start script executable
RUN chmod +x /usr/local/bin/start.sh
USER knot
@@ -17,6 +24,6 @@ WORKDIR /var/lib/knot
EXPOSE 8053
CMD [ "/usr/sbin/knotd" ]
CMD [ "/usr/local/bin/start.sh" ]