Block a user
netfilter (1.63)
Published 2026-02-13 14:24:40 +01:00 by henrik
Installation
docker pull git.hnrk.io/henrik/netfilter:1.63sha256:7b83d811191ea2357922464b42f7eded31f103f0474a1fc48e5c5c065e6c78d0
Image Layers
| ADD alpine-minirootfs-3.21.6-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| LABEL maintainer== The Infrastructure Company GmbH <info@servercow.de> |
| WORKDIR /app |
| ARG PIP_BREAK_SYSTEM_PACKAGES=1 |
| ENV XTABLES_LIBDIR=/usr/lib/xtables |
| ENV PYTHON_IPTABLES_XTABLES_VERSION=12 |
| ENV IPTABLES_LIBDIR=/usr/lib |
| RUN |1 PIP_BREAK_SYSTEM_PACKAGES=1 /bin/sh -c apk add --virtual .build-deps gcc python3-dev libffi-dev openssl-dev && apk add -U python3 iptables iptables-dev ip6tables xtables-addons nftables tzdata py3-pip py3-nftables musl-dev && pip3 install --ignore-installed --upgrade pip jsonschema python-iptables redis ipaddress dnspython && apk del .build-deps # buildkit |
| COPY modules /app/modules # buildkit |
| COPY main.py /app/ # buildkit |
| COPY ./docker-entrypoint.sh /app/ # buildkit |
| RUN |1 PIP_BREAK_SYSTEM_PACKAGES=1 /bin/sh -c chmod +x /app/docker-entrypoint.sh # buildkit |
| CMD ["/bin/sh" "-c" "/app/docker-entrypoint.sh"] |
Labels
| Key | Value |
|---|---|
| maintainer | = The Infrastructure Company GmbH <info@servercow.de> |