nsupdate (sha256:6d54dc8e5764bbedc61cbd45b2261589a45760ca417ad10eaefb00bc485b726c)

Published 2024-06-05 08:18:13 +02:00 by chris

Installation

docker pull git.debilux.org/chris/nsupdate@sha256:6d54dc8e5764bbedc61cbd45b2261589a45760ca417ad10eaefb00bc485b726c
sha256:6d54dc8e5764bbedc61cbd45b2261589a45760ca417ad10eaefb00bc485b726c

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]
Details
Container
2024-06-05 08:18:13 +02:00
1
OCI / Docker
linux/amd64
13 MiB
Versions (5) View all
latest 2024-11-17
69cc1ea 2024-11-17
c2237d1 2024-06-18
88d51c4 2024-06-05
b40f256 2024-06-05