Block a user
nsupdate (69cc1ea)
Installation
docker pull git.debilux.org/chris/nsupdate:69cc1easha256:7c720f84553f07ffa8bd349c73c2b4d2fa6aba365345c8dffedd47c7ec59c323
Images
| Digest | OS / Arch | Size |
|---|---|---|
| c1778c4c63 | linux/amd64 | 13 MiB |
| 295ed11d32 | linux/arm64 | 14 MiB |
Image Layers ( linux/arm64)
| ADD alpine-minirootfs-3.22.2-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] |