proxy (1.1.0)

Published 2026-11-24 15:04:58 +00:00 by jonas

Installation

docker pull git.tni.dev/tni/proxy:1.1.0
sha256:2ac0ef8501608094f8413a8661a3b742b135778a76e84dd2aecbdfae2d025a7b

About this package

Squid + e2guardian proxy with a Caddy admin UI, PVE application container

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1795392000'
ENV DEBIAN_FRONTEND=noninteractive HOME=/run/proxy XDG_DATA_HOME=/data/caddy/data XDG_CONFIG_HOME=/data/caddy/config S6_BEHAVIOUR_IF_STAGE2_FAILS=2
ARG ALLOY_VERSION
ARG ALLOY_SHA256_ARM64 ALLOY_VERSION
ARG ALLOY_SHA256_AMD64 ALLOY_SHA256_ARM64 ALLOY_VERSION
ARG ALLOY_SHA256_AMD64 ALLOY_SHA256_ARM64 ALLOY_VERSION S6_OVERLAY_VERSION
ARG ALLOY_SHA256_AMD64 ALLOY_SHA256_ARM64 ALLOY_VERSION S6_OVERLAY_VERSION VERSION
ARG ALLOY_SHA256_AMD64 ALLOY_SHA256_ARM64 ALLOY_VERSION REVISION S6_OVERLAY_VERSION VERSION
ENV PROXY_BUILD_VERSION=${VERSION} PROXY_BUILD_REVISION=${REVISION}
|6 ALLOY_SHA256_AMD64=50d23af2d0f98c00beac6ce9a365693e60f87fb76b6cad6fe1d161e80588af6d ALLOY_SHA256_ARM64=ca2f383cc60491877b21aef50c54af6a198f6c861c2c4b80f41ec49ad73b1b93 ALLOY_VERSION=1.21.3 REVISION=82dd37b1e0b9ebf8f4b04ecbaccb04bf9b93ea1d S6_OVERLAY_VERSION=3.2.3.2 VERSION=1.1.0 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bash ca-certificates curl openssl squid-openssl squid-common c-icap libc-icap-mod-contentfiltering libc-icap-mod-virus-scan clamav-freshclam libpcre2-posix3 libssl3t64; rm -rf /var/lib/apt/lists/* /var/cache/apt/*; addgroup --system e2guardian; adduser --system --ingroup e2guardian --no-create-home --shell /usr/sbin/nologin e2guardian; usermod -aG clamav c-icap || true; mkdir -p /var/lib/clamav; freshclam --stdout >/tmp/freshclam.log 2>&1 || echo "signature download skipped"; chown -R clamav:clamav /var/lib/clamav 2>/dev/null || true
|6 ALLOY_SHA256_AMD64=50d23af2d0f98c00beac6ce9a365693e60f87fb76b6cad6fe1d161e80588af6d ALLOY_SHA256_ARM64=ca2f383cc60491877b21aef50c54af6a198f6c861c2c4b80f41ec49ad73b1b93 ALLOY_VERSION=1.21.3 REVISION=82dd37b1e0b9ebf8f4b04ecbaccb04bf9b93ea1d S6_OVERLAY_VERSION=3.2.3.2 VERSION=1.1.0 /bin/sh -c set -eux; apt-get -o Acquire::Retries=5 update; apt-get install -y --no-install-recommends xz-utils unzip binutils; case "$(uname -m)" in aarch64) arch=arm64; s6_arch=aarch64; alloy_sum=${ALLOY_SHA256_ARM64} ;; x86_64) arch=amd64; s6_arch=x86_64; alloy_sum=${ALLOY_SHA256_AMD64} ;; *) echo "unsupported architecture $(uname -m)" >&2; exit 1 ;; esac; echo "alloy arch=${arch} sum=${alloy_sum}"; [ -n "$alloy_sum" ] || { echo "missing Alloy checksum for ${arch}" >&2; exit 1; }; curl -fsSL --retry 5 --retry-delay 5 --retry-all-errors -o /tmp/alloy.zip "https://github.com/grafana/alloy/releases/download/v${ALLOY_VERSION}/alloy-linux-${arch}.zip"; echo "${alloy_sum} /tmp/alloy.zip" | sha256sum -c -; unzip -p /tmp/alloy.zip "alloy-linux-${arch}" > /usr/local/bin/alloy; objcopy --strip-debug /usr/local/bin/alloy 2>/dev/null || true; chmod 0755 /usr/local/bin/alloy; cd /tmp; curl -fsSLO --retry 5 --retry-delay 5 --retry-all-errors "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz"; curl -fsSLO --retry 5 --retry-delay 5 --retry-all-errors "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz.sha256"; curl -fsSLO --retry 5 --retry-delay 5 --retry-all-errors "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${s6_arch}.tar.xz"; curl -fsSLO --retry 5 --retry-delay 5 --retry-all-errors "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${s6_arch}.tar.xz.sha256"; sha256sum -c s6-overlay-noarch.tar.xz.sha256 s6-overlay-${s6_arch}.tar.xz.sha256; tar -xJf s6-overlay-noarch.tar.xz -C /; tar -xJf s6-overlay-${s6_arch}.tar.xz -C /; rm -rf /tmp/* /var/lib/apt/lists/* /var/cache/apt/*
COPY file:1ea30ffe8fcc9432ca7f27b810a6500a22af257d5b3d31cad9214a6b7cce46da in /usr/bin/caddy
COPY dir:fcf0c8819a6631497dc11f1bbbc07a5e6b05c6a726d415741c0e49432a0c7983 in /etc/e2guardian
COPY file:d8a6fb5f2b4b88177858424aaffba648e2542bd741ab835d066b4e63394cb076 in /usr/sbin/e2guardian
COPY dir:904fb457cf631c4811ba547ff2e3482f5d13554dffffc7edcf8f1084c49da669 in /usr/share/e2guardian
COPY dir:16e632203a58e63252ac4645539441361e9a99c2150e2b7c2efdceda4c5c75f5 in /
COPY file:19ef2f158c7880c6272f27511cfa002ae8ffd888128ad79c5169476587dee638 in /usr/local/bin/proxyadmin-web
COPY file:6a8e8c3e08b29ebb373d5745c94f0c832bc8fda11f68e10b36a6b903022f6b49 in /usr/local/bin/proxyadmin-init
COPY file:40d635305897e52924937371bf1094c89347dd70cb558d6976aae7ea62d32603 in /usr/local/bin/proxyadmin-apply-worker
COPY file:ef6ac46bcef8dec67534ec59ca60a9a051d4fc8fd149584f4327cea8572d19bb in /usr/local/bin/proxyadmin-ingest
COPY file:552513e7e53d67ff9456ebcedba6a55e1a137b5725472bd157a81a7c40e98cba in /usr/local/bin/proxyadmin-scheduler
COPY file:c33bdd73485c0fa13143be371ff7e719de70d7e186e7c225a472ef056c8ba81f in /usr/local/bin/proxyadmin-safesearch
COPY file:5a091eaa0a14e049d98b2da117a5763d9db9540ec792e07148a04ba97b380cb9 in /usr/local/bin/proxyadmin-identity
|6 ALLOY_SHA256_AMD64=50d23af2d0f98c00beac6ce9a365693e60f87fb76b6cad6fe1d161e80588af6d ALLOY_SHA256_ARM64=ca2f383cc60491877b21aef50c54af6a198f6c861c2c4b80f41ec49ad73b1b93 ALLOY_VERSION=1.21.3 REVISION=82dd37b1e0b9ebf8f4b04ecbaccb04bf9b93ea1d S6_OVERLAY_VERSION=3.2.3.2 VERSION=1.1.0 /bin/sh -c set -eux; chmod 0755 /usr/bin/caddy /usr/local/bin/alloy /usr/local/bin/proxyadmin-web /usr/local/bin/proxyadmin-init /usr/local/bin/proxyadmin-apply-worker /usr/local/bin/proxyadmin-ingest /usr/local/bin/proxyadmin-scheduler /usr/local/bin/proxyadmin-safesearch /usr/local/bin/proxyadmin-identity /usr/local/bin/proxy-health /usr/local/bin/proxyadmin-rotate; find /etc/s6-overlay/s6-rc.d \( -name run -o -name up \) -exec chmod 0755 {} +; mkdir -p /usr/share/proxyadmin/e2g-empty-group; cp -a /etc/e2guardian/lists/example.group/. /usr/share/proxyadmin/e2g-empty-group/; find /usr/share/proxyadmin/e2g-empty-group -type f -exec truncate -s 0 {} +; for f in bannedsearchtermlist exceptionsearchtermlist weightedsearchtermlist; do : > "/usr/share/proxyadmin/e2g-empty-group/$f"; done; mkdir -p /data /run/proxy/squid /run/proxy/e2guardian /var/log/squid /var/log/e2guardian /var/log/caddy /var/log/proxy; chown -R proxy:proxy /var/log/squid; chown -R e2guardian:e2guardian /var/log/e2guardian; chmod 0750 /data; sed -i 's/^Port 1344/Port 1345/' /etc/c-icap/c-icap.conf; printf '\nInclude /etc/c-icap/proxyadmin.conf\n' >> /etc/c-icap/c-icap.conf; : > /etc/c-icap/proxyadmin.conf
LABEL org.opencontainers.image.title="Proxy Filter" org.opencontainers.image.description="Squid + e2guardian proxy with a Caddy admin UI, PVE application container" org.opencontainers.image.version="${VERSION}" org.opencontainers.image.revision="${REVISION}"
EXPOSE 80 443 3128 3129
STOPSIGNAL SIGTERM
ENTRYPOINT ["/init"]

Labels

Key Value
io.buildah.version 1.33.7
org.opencontainers.image.description Squid + e2guardian proxy with a Caddy admin UI, PVE application container
org.opencontainers.image.revision 82dd37b1e0b9ebf8f4b04ecbaccb04bf9b93ea1d
org.opencontainers.image.title Proxy Filter
org.opencontainers.image.version 1.1.0

Annotations

Key Value
org.opencontainers.image.base.digest sha256:ab3b3c8c5159eebfca4376430132d53c4d425f869c765ecbe47177a030da575d
org.opencontainers.image.base.name docker.io/library/debian:13-slim
Details
Container
2026-11-24 15:04:58 +00:00
3
2026-11-24 16:17:22 +00:00
OCI / Docker
linux/amd64
376 MiB
Versions (44) View all
1.2 2026-11-26
1 2026-11-26
latest 2026-11-26
1.2.0 2026-11-26
sha-98d417c247a9 2026-11-26