nsupdate (sha256:ac5364b72898285e1c540c4a45510839d7c01dc02b8fb0f07b5d4b062f6bc0a6)
Published 2024-06-18 19:14:05 +02:00 by chris
Installation
docker pull git.debilux.org/chris/nsupdate@sha256:ac5364b72898285e1c540c4a45510839d7c01dc02b8fb0f07b5d4b062f6bc0a6
sha256:ac5364b72898285e1c540c4a45510839d7c01dc02b8fb0f07b5d4b062f6bc0a6
Image Layers
ADD file:e3abcdba177145039cfef1ad882f9f81a612a24c9f044b19f713b95454d2e3f6 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] |