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, anddevcontainerso 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 \
-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.