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