Skip to content

Python Container Image

Curated Python runtimes (Debian slim, Alpine, slim variants, and a devcontainer) for scripting and CI workloads.

Features

  • Multiple Dockerfiles produce tags such as latest, slim, alpine, slim-alpine, and devcontainer so you can match performance with footprint.
  • Devcontainer flavour ships extra developer tooling plus a non-root user, while the other tags stay minimal for automation.

Usage

Pull the image you need

podman pull registry.gitlab.com/niclas-zone/ctr/python:latest
podman pull registry.gitlab.com/niclas-zone/ctr/python:slim
podman pull registry.gitlab.com/niclas-zone/ctr/python:alpine
podman pull registry.gitlab.com/niclas-zone/ctr/python:devcontainer

Run Python commands

podman run --rm -it registry.gitlab.com/niclas-zone/ctr/python:slim python3 --version
podman run --rm -it \
  -v $(pwd):/workspace \
  -w /workspace \
  registry.gitlab.com/niclas-zone/ctr/python:alpine \
  python3 script.py

Author

Niclas Heinz

Contributing

Contributions are welcome! Please open an issue or submit a merge request if you have suggestions or improvements.

License

This project is licensed under the MIT License. Refer to LICENSE for the full terms.