nsupdate (sha256:f40e181cace7883ce389dde548af7515d72d299b0c5003d4583029b355c5e19a)
Published 2024-11-17 00:09:01 +01:00 by chris
Installation
docker pull git.debilux.org/chris/nsupdate@sha256:f40e181cace7883ce389dde548af7515d72d299b0c5003d4583029b355c5e19a
sha256:f40e181cace7883ce389dde548af7515d72d299b0c5003d4583029b355c5e19a
Image Layers
ADD alpine-minirootfs-3.20.3-aarch64.tar.gz / # buildkit |
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] |