Lightweight Python images based on Alpine Linux with pip pre-installed for Python development.
267
Efficient Python runtime images built on Alpine Linux 3.19 with pip included.
alpine-3.10, alpine-3.11 - Python 3.11 (mapped versions)alpine-3.12, alpine-3.12-lts - Python 3.11 LTS ⭐ (recommended)alpine-3.13 - Python 3.11 (mapped version)# Run Python version
docker run --rm rmdamascenorep/python:alpine-3.12-lts
# Use as base image
FROM rmdamascenorep/python:alpine-3.12-lts
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD ["python", "app.py"]
PYTHON_VERSION=3.11.14PATH includes Python binaries~78MB (much smaller than Debian-based images)
Python is licensed under PSF License
Content type
Image
Digest
sha256:1f895e41e…
Size
26.1 MB
Last updated
10 months ago
docker pull rmdamascenorep/python:alpine-3.11