docker-python
Add poetry, pre-commit, and other dev tools for official Python slim bullseye Docker image.
10K+
Add poetry, pre-commit and tox installed via pipx as well as other system dev tools to official Python slim Docker image.
FROM playpauseandstop/docker-python:6.1.0
By default, docker-python image uses latest stable Python version. But some other versions supported as well.
List of supported Python versions are (<PY_VERSION> -> base Docker image)
py311 -> python:3.11.0-slim-bullseyepy310 -> python:3.10.8-slim-bullseyepy39 -> python:3.9.15-slim-bullseyepy38 -> python:3.8.15-slim-bullseyepy37 -> python:3.7.15-slim-bullseyepy311 -> python:3.11.0rc2-slim-bullseyepy310 -> python:3.10.7-slim-bullseyepy39 -> python:3.9.14-slim-bullseyepy38 -> python:3.8.14-slim-bullseyepy37 -> python:3.7.14-slim-bullseyepy310 -> python:3.10.4-slim-bullseyepy39 -> python:3.9.12-slim-bullseyepy38 -> python:3.8.13-slum-bullseyepy37 -> python:3.7.13-slum-bullseyepy36 uses same base image as in 5.0.0py310 -> python:3.10.2-slim-bullseyepy39 -> python:3.9.10-slim-bullseyepy38, py37 & py36 use same base image as in 5.0.0py310 -> python:3.10.1-slim-bullseyepy39 -> python:3.9.9-slim-bullseyepy38, py37 & py36 use same base image as in 5.0.0py310 -> python:3.10.0-slim-bullseyepy39 -> python:3.9.7-slim-bullseyepy38 -> python:3.8.12-slim-bullseyepy37 -> python:3.7.12-slim-bullseyepy36 -> python:3.6.15-slim-bullseyepy39 -> python:3.9.5-slim-busterpy38 -> python:3.8.10-slim-busterpy37 & py36 use same base image as in 4.2.0py39 -> python:3.9.4-slim-busterpy38 -> python:3.8.9-slim-busterpy37 -> python:3.7.10-slim-busterpy36 -> python:3.6.13-slim-busterpy39 -> python:3.9.1-slim-busterpy38 -> python:3.8.7-slim-busterpy36 & py37 use same base image as in 3.6.0py39 -> python:3.9.0-slim-busterpy36, py37 & py38 use same base image as in 3.6.0py38 -> python:3.8.6-slim-busterpy37 -> python:3.7.9-slim-busterpy36 -> python:3.6.12-slim-busterpy38 -> python:3.8.5-slim-busterpy37 & py36 use same base image as in 3.4.0py38 -> python:3.8.4-slim-busterpy37 -> python:3.7.8-slim-busterpy36 -> python:3.6.11-slim-busterpy38 -> python:3.8.3-slim-busterpy37 -> python:3.7.7-slim-busterpy36 uses same base image as in 3.1.0py38 -> python:3.8.2-slim-busterpy37 & py36 use same base image as in 3.1.0py38 -> python:3.8.1-slim-busterpy37 -> python:3.7.6-slim-busterpy36 -> python:3.6.10-slim-busterpy38 -> python:3.8.0-slim-busterpy37 -> python:3.7.5-slim-busterpy36 -> python:3.6.9-slim-busterpy37 -> python:3.7.5-slim-stretchpy36 -> python:3.6.9-slim-stretchpy35 -> python:3.5.7-slim-stretchpy37 -> python:3.7.4-slim-stretchpy36 -> python:3.6.9-slim-stretchpy35 -> python:3.5.7-slim-stretchpy37 -> python:3.7.3-slim-stretchpy36 -> python:3.6.8-slim-stretchpy35 -> python:3.5.7-slim-stretchTo use custom Python version, use tags in your Dockerfile as:
FROM playpauseansdtop/docker-python:<VERSION>-<PY_VERSION>
For example, to use 3.2.0 version of docker-python with Python 3.7 base
image:
FROM playpauseandstop/docker-python:3.2.0-py37
To build an image:
make
To run something, using built image:
make ARGS="..." run
Content type
Image
Digest
sha256:ed4dc385b…
Size
314.2 MB
Last updated
8 months ago
docker pull playpauseandstop/docker-python