Block a user
nsupdate (c2237d1)
Installation
docker pull git.debilux.org/chris/nsupdate:c2237d1sha256:5cd5627fee6f3ed3cfd98a55b2eba9ec13c6a77fb201e0a987807194c3cf7541
Images
| Digest | OS / Arch | Size |
|---|---|---|
| ac5364b728 | linux/amd64 | 13 MiB |
| 450ea78cdc | linux/arm64 | 14 MiB |
Image Layers ( linux/arm64)
| 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] |