๐บ Hardened Wolfi/apko Python images โ no shell/pip in production, daily rebuilds.
4.9K
Hardened, minimal Python container images built on Wolfiโ with apkoโ โ no distro, no shell, no package manager in production.
Rebuilt daily from Wolfi's rolling-release package repo, so security patches land automatically. Every build is scanned with Trivyโ ; results and an auto-generated SBOM are tracked on GitHubโ .
Two variants per Python version โ 3.10, 3.11, 3.12, 3.13, 3.14:
| Tag | Contains | Use for |
|---|---|---|
<version> | Python + CA certs only. No shell, no pip. | Production runtime |
<version>-dev | Same, plus pip and busybox (shell). | Builder stage โ installing dependencies |
Each tag is overwritten with the newest build; there is no latest tag (pick a version explicitly).
Since the production image has no shell or pip, install dependencies in a -dev builder stage and copy them into the hardened final image:
# ---- Builder: has pip + shell ----
FROM teogisis/wolfpack-python:3.13-dev AS builder
WORKDIR /app
COPY requirements.txt .
RUN python3.13 -m pip install --no-cache-dir --target=/app/deps -r requirements.txt
# ---- Final: hardened, no pip, no shell ----
FROM teogisis/wolfpack-python:3.13
WORKDIR /app
COPY --from=builder /app/deps /app/deps
COPY app.py .
ENV PYTHONPATH=/app/deps
ENTRYPOINT ["/usr/bin/python3.13", "/app/app.py"]
Runs as a non-root user (uid/gid 65532) by default.
wolfpack-nodeโ ยท wolfpack-javaโ ยท wolfpack-dotnetโ
Build configs, CI pipeline, and up-to-date vulnerability scan results: github.com/Theo-Gkisis/wolfpackโ
Content type
Image
Digest
sha256:73d8d93faโฆ
Size
29 MB
Last updated
about 15 hours ago
docker pull teogisis/wolfpack-python:3.12-dev