Sign inSign up

teogisis/wolfpack-python

By teogisis

โ€ขUpdated about 15 hours ago

๐Ÿบ Hardened Wolfi/apko Python images โ€” no shell/pip in production, daily rebuilds.

Image
Security
0

4.9K

teogisis/wolfpack-python repository overview

โ wolfpack-python

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โ .

โ Tags

Two variants per Python version โ€” 3.10, 3.11, 3.12, 3.13, 3.14:

TagContainsUse for
<version>Python + CA certs only. No shell, no pip.Production runtime
<version>-devSame, 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).

โ Usage

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.

โ Also in this family

wolfpack-nodeโ  ยท wolfpack-javaโ  ยท wolfpack-dotnetโ 

โ Source

Build configs, CI pipeline, and up-to-date vulnerability scan results: github.com/Theo-Gkisis/wolfpackโ 

Tag summary

Content type

Image

Digest

sha256:73d8d93faโ€ฆ

Size

29 MB

Last updated

about 15 hours ago

docker pull teogisis/wolfpack-python:3.12-dev