{"id":15688330,"url":"https://github.com/playpauseandstop/docker-python","last_synced_at":"2025-04-30T22:50:16.228Z","repository":{"id":39270760,"uuid":"184479522","full_name":"playpauseandstop/docker-python","owner":"playpauseandstop","description":"Add poetry, pre-commit, and other dev tools for official Python slim bullseye Docker image.","archived":false,"fork":false,"pushed_at":"2024-05-01T05:48:34.000Z","size":173,"stargazers_count":10,"open_issues_count":10,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-25T14:57:59.940Z","etag":null,"topics":["dev-tools","docker","docker-image","pip","poetry","pre-commit","python"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/playpauseandstop/docker-python","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/playpauseandstop.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-01T20:47:34.000Z","updated_at":"2025-02-20T18:07:42.000Z","dependencies_parsed_at":"2024-02-02T01:29:13.822Z","dependency_job_id":"29885014-3a1a-4623-b8b2-86618ee5eae0","html_url":"https://github.com/playpauseandstop/docker-python","commit_stats":null,"previous_names":[],"tags_count":127,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playpauseandstop%2Fdocker-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playpauseandstop%2Fdocker-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playpauseandstop%2Fdocker-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playpauseandstop%2Fdocker-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playpauseandstop","download_url":"https://codeload.github.com/playpauseandstop/docker-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251795387,"owners_count":21645019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dev-tools","docker","docker-image","pip","poetry","pre-commit","python"],"created_at":"2024-10-03T17:58:03.698Z","updated_at":"2025-04-30T22:50:16.207Z","avatar_url":"https://github.com/playpauseandstop.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-python\n\n[![CI](https://github.com/playpauseandstop/docker-python/actions/workflows/ci.yml/badge.svg)](https://github.com/playpauseandstop/docker-python/actions/workflows/ci.yml)\n[![Docker Pulls](https://img.shields.io/docker/pulls/playpauseandstop/docker-python.svg)](https://hub.docker.com/r/playpauseandstop/docker-python)\n\nAdd poetry, pre-commit and tox installed via pipx as well as other system dev tools to official Python slim Docker image.\n\n## Usage\n\n```dockerfile\nFROM playpauseandstop/docker-python:7.0.0\n```\n\n### Included dev-tools\n\n- [pip](https://pip.pypa.io) 23.3.2\n- [pipx](https://pypa.github.io/pipx/) 1.4.3\n- [poetry](https://python-poetry.org) 1.7.1\n- [pre-commit](https://pre-commit.com) 3.6.0\n- [tox](https://tox.readthedocs.io/) 4.12.1\n- [virtualenv](https://virtualenv.pypa.io) 20.25.0\n- [curl](https://curl.haxx.se) 7.88.1\n- [gcc \u0026 g++](https://gcc.gnu.org) 12.2.0\n- [git](https://git-scm.com) 2.39.2\n- [locales](https://packages.debian.org/stretch/locales) \u0026\n  [locales-all](https://packages.debian.org/stretch/locales-all)\n- [make](https://www.gnu.org/software/make) 4.3\n- [nano](https://www.nano-editor.org) 7.2\n- [gettext](https://www.gnu.org/software/gettext) 0.21\n- [openssh-client](https://packages.debian.org/stretch/openssh-client) 8.4p1\n- [rsync](https://rsync.samba.org) 3.2.7\n\n### Python versions\n\nBy default, `docker-python` image uses latest stable Python version. But some other versions supported as well.\n\nList of supported Python versions are (`\u003cPY_VERSION\u003e` -\u003e base Docker image)\n\n#### 7.0.0\n\n- `py312` -\u003e `python:3.12.1-slim-bookworm`\n- `py311` -\u003e `python:3.11.7-slim-bookworm`\n- `py310` -\u003e `python:3.10.13-slim-bookworm`\n- `py39` -\u003e `python:3.9.18-slim-bookworm`\n- `py38` -\u003e `python:3.8.18-slim-bookworm`\n\n#### 6.2.0\n\n- `py311` -\u003e `python:3.11.1-slim-bullseye`\n- `py310` -\u003e `python:3.10.9-slim-bullseye`\n- `py39` -\u003e `python:3.9.16-slim-bullseye`\n- `py38` -\u003e `python:3.8.16-slim-bullseye`\n- `py37` -\u003e `python:3.7.16-slim-bullseye`\n\n#### 6.1.0\n\n- `py311` -\u003e `python:3.11.0-slim-bullseye`\n- `py310` -\u003e `python:3.10.8-slim-bullseye`\n- `py39` -\u003e `python:3.9.15-slim-bullseye`\n- `py38` -\u003e `python:3.8.15-slim-bullseye`\n- `py37` -\u003e `python:3.7.15-slim-bullseye`\n\n#### 6.0.0\n\n- `py311` -\u003e `python:3.11.0rc2-slim-bullseye`\n- `py310` -\u003e `python:3.10.7-slim-bullseye`\n- `py39` -\u003e `python:3.9.14-slim-bullseye`\n- `py38` -\u003e `python:3.8.14-slim-bullseye`\n- `py37` -\u003e `python:3.7.14-slim-bullseye`\n\n#### 5.3.0\n\n- `py310` -\u003e `python:3.10.4-slim-bullseye`\n- `py39` -\u003e `python:3.9.12-slim-bullseye`\n- `py38` -\u003e `python:3.8.13-slum-bullseye`\n- `py37` -\u003e `python:3.7.13-slum-bullseye`\n- `py36` uses same base image as in `5.0.0`\n\n#### 5.2.0\n\n- `py310` -\u003e `python:3.10.2-slim-bullseye`\n- `py39` -\u003e `python:3.9.10-slim-bullseye`\n- `py38`, `py37` \u0026 `py36` use same base image as in `5.0.0`\n\n#### 5.1.0\n\n- `py310` -\u003e `python:3.10.1-slim-bullseye`\n- `py39` -\u003e `python:3.9.9-slim-bullseye`\n- `py38`, `py37` \u0026 `py36` use same base image as in `5.0.0`\n\n#### 5.0.0\n\n- `py310` -\u003e `python:3.10.0-slim-bullseye`\n- `py39` -\u003e `python:3.9.7-slim-bullseye`\n- `py38` -\u003e `python:3.8.12-slim-bullseye`\n- `py37` -\u003e `python:3.7.12-slim-bullseye`\n- `py36` -\u003e `python:3.6.15-slim-bullseye`\n\n#### 4.3.0\n\n- `py39` -\u003e `python:3.9.5-slim-buster`\n- `py38` -\u003e `python:3.8.10-slim-buster`\n- `py37` \u0026 `py36` use same base image as in `4.2.0`\n\n#### 4.2.0\n\n- `py39` -\u003e `python:3.9.4-slim-buster`\n- `py38` -\u003e `python:3.8.9-slim-buster`\n- `py37` -\u003e `python:3.7.10-slim-buster`\n- `py36` -\u003e `python:3.6.13-slim-buster`\n\n#### 4.1.0\n\n- `py39` -\u003e `python:3.9.1-slim-buster`\n- `py38` -\u003e `python:3.8.7-slim-buster`\n- `py36` \u0026 `py37` use same base image as in `3.6.0`\n\n#### 4.0.0\n\n- `py39` -\u003e `python:3.9.0-slim-buster`\n- `py36`, `py37` \u0026 `py38` use same base image as in `3.6.0`\n\n#### 3.6.0\n\n- `py38` -\u003e `python:3.8.6-slim-buster`\n- `py37` -\u003e `python:3.7.9-slim-buster`\n- `py36` -\u003e `python:3.6.12-slim-buster`\n\n#### 3.5.0\n\n- `py38` -\u003e `python:3.8.5-slim-buster`\n- `py37` \u0026 `py36` use same base image as in `3.4.0`\n\n#### 3.4.0\n\n- `py38` -\u003e `python:3.8.4-slim-buster`\n- `py37` -\u003e `python:3.7.8-slim-buster`\n- `py36` -\u003e `python:3.6.11-slim-buster`\n\n#### 3.3.0\n\n- `py38` -\u003e `python:3.8.3-slim-buster`\n- `py37` -\u003e `python:3.7.7-slim-buster`\n- `py36` uses same base image as in `3.1.0`\n\n#### 3.2.0\n\n- `py38` -\u003e `python:3.8.2-slim-buster`\n- `py37` \u0026 `py36` use same base image as in `3.1.0`\n\n#### 3.1.0\n\n- `py38` -\u003e `python:3.8.1-slim-buster`\n- `py37` -\u003e `python:3.7.6-slim-buster`\n- `py36` -\u003e `python:3.6.10-slim-buster`\n\n#### 3.0.0\n\n- `py38` -\u003e `python:3.8.0-slim-buster`\n- `py37` -\u003e `python:3.7.5-slim-buster`\n- `py36` -\u003e `python:3.6.9-slim-buster`\n\n#### 2.0.0\n\n- `py37` -\u003e `python:3.7.5-slim-stretch`\n- `py36` -\u003e `python:3.6.9-slim-stretch`\n- `py35` -\u003e `python:3.5.7-slim-stretch`\n\n#### 1.1.X \u0026 1.2.X\n\n- `py37` -\u003e `python:3.7.4-slim-stretch`\n- `py36` -\u003e `python:3.6.9-slim-stretch`\n- `py35` -\u003e `python:3.5.7-slim-stretch`\n\n#### 1.0.3\n\n- `py37` -\u003e `python:3.7.3-slim-stretch`\n- `py36` -\u003e `python:3.6.8-slim-stretch`\n- `py35` -\u003e `python:3.5.7-slim-stretch`\n\nTo use custom Python version, use tags in your Dockerfile as:\n\n```\nFROM playpauseansdtop/docker-python:\u003cVERSION\u003e-\u003cPY_VERSION\u003e\n```\n\nFor example, to use `3.2.0` version of `docker-python` with Python 3.7 base\nimage:\n\n```\nFROM playpauseandstop/docker-python:3.2.0-py37\n```\n\n[List of all available tags](https://hub.docker.com/r/playpauseandstop/docker-python/tags)\n\n## Development\n\nTo build an image:\n\n```bash\nmake\n```\n\nTo run something, using built image:\n\n```bash\nmake run ARGS=\"...\"\n```\n\nTo list latest versions of Python dev tools, included in the image (this is useful for updating versions in `Dockerfile`):\n\n```bash\nmake list-versions\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaypauseandstop%2Fdocker-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplaypauseandstop%2Fdocker-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaypauseandstop%2Fdocker-python/lists"}