Block a user
nsupdate (9cbf6b4)
Installation
docker pull git.debilux.org/chris/nsupdate:9cbf6b4sha256:399264c24e5573518df84db716fb6b1ae26dd7b26dd4814b7ae189c961be66c2
Images
| Digest | OS / Arch | Size |
|---|---|---|
| a57f59cdea | linux/amd64 | 13 MiB |
| c63bd03326 | 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] |