Block a user
nsupdate (b40f256)
Installation
docker pull git.debilux.org/chris/nsupdate:b40f256sha256:abf11af491da9b630bdb159608cbe25510c2b3240f49edc322c44a3997166550
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 6d54dc8e57 | linux/amd64 | 13 MiB |
| 3d3c74063d | linux/arm64 | 14 MiB |
Image Layers ( linux/amd64)
| 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] |