nsupdate (sha256:3d3c74063d4424191e2e05451f4cd9c0db94945f8fd00ca702677f785e8e020a)
Published 2024-06-05 08:18:13 +02:00 by chris
Installation
docker pull git.debilux.org/chris/nsupdate@sha256:3d3c74063d4424191e2e05451f4cd9c0db94945f8fd00ca702677f785e8e020a
sha256:3d3c74063d4424191e2e05451f4cd9c0db94945f8fd00ca702677f785e8e020a
Image Layers
ADD file:ceadd994c6d8900884c4a44aa76cf187336921e29afeaa017c4a3d1fc066a6a3 in / |
CMD ["/bin/sh"] |
ENV TZ=UTC |
ENV SCHEDULE=* * * * * |
ENV NSUPDATE_CONFD_DIR=/config |
ENV NSUPDATE_LOG_DIR=/log |
RUN /bin/sh -c apk update # buildkit |
RUN /bin/sh -c apk add --no-cache git curl libxml2-utils tzdata jq # buildkit |
RUN /bin/sh -c ln -sf "/usr/share/zoneinfo/${TZ}" /etc/localtime && echo "${TZ}" > /etc/timezone && date # buildkit |
ADD https://api.github.com/repos/chrisb86/nsupdate/git/refs/heads/main /.git-hashref # buildkit |
COPY nsupdate.sh /usr/local/bin/nsupdate.sh # buildkit |
RUN /bin/sh -c chmod +x /usr/local/bin/nsupdate.sh # buildkit |
RUN /bin/sh -c echo "${SCHEDULE} sh /usr/local/bin/nsupdate.sh" >> /etc/crontabs/root # buildkit |
CMD ["crond" "-l" "2" "-f"] |
VOLUME [/config] |
VOLUME [/log] |