{"id":29178357,"url":"https://github.com/kun-codes/python-3.12-ubuntu-18.04-docker","last_synced_at":"2026-05-10T07:50:26.927Z","repository":{"id":301672333,"uuid":"1009955136","full_name":"kun-codes/python-3.12-ubuntu-18.04-docker","owner":"kun-codes","description":"Python 3.12 Docker image based on Ubuntu 18.04","archived":false,"fork":false,"pushed_at":"2025-06-28T05:19:08.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-28T06:18:18.701Z","etag":null,"topics":["docker","docker-image","dockerimage","python","python312","ubuntu","ubuntu1804","ubuntu1804-docker"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/kuncodes/python-3.12-ubuntu-18.04","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kun-codes.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2025-06-28T03:30:39.000Z","updated_at":"2025-06-28T05:21:06.000Z","dependencies_parsed_at":"2025-06-28T06:18:22.393Z","dependency_job_id":"8cb27cc7-d190-47dc-9c1d-39dfb2fc7071","html_url":"https://github.com/kun-codes/python-3.12-ubuntu-18.04-docker","commit_stats":null,"previous_names":["kun-codes/python-3.12-ubuntu-18.04-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kun-codes/python-3.12-ubuntu-18.04-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kun-codes%2Fpython-3.12-ubuntu-18.04-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kun-codes%2Fpython-3.12-ubuntu-18.04-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kun-codes%2Fpython-3.12-ubuntu-18.04-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kun-codes%2Fpython-3.12-ubuntu-18.04-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kun-codes","download_url":"https://codeload.github.com/kun-codes/python-3.12-ubuntu-18.04-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kun-codes%2Fpython-3.12-ubuntu-18.04-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263019620,"owners_count":23400934,"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":["docker","docker-image","dockerimage","python","python312","ubuntu","ubuntu1804","ubuntu1804-docker"],"created_at":"2025-07-01T18:46:08.652Z","updated_at":"2025-10-16T05:50:19.748Z","avatar_url":"https://github.com/kun-codes.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python 3.12 Ubuntu 18.04 Docker Image with Automated Patch Updates\n\n[![Docker Pulls](https://img.shields.io/docker/pulls/kuncodes/python-3.12-ubuntu-18.04)](https://hub.docker.com/r/kuncodes/python-3.12-ubuntu-18.04)\n\nThis repository provides a Dockerfile for building a Python 3.12 environment on Ubuntu 18.04. It also includes automation to keep the Python 3.12 patch version up to date using GitHub Actions.\n\n## Docker Image\nThe prebuilt image is available on Docker Hub: [kuncodes/python-3.12-ubuntu-18.04](https://hub.docker.com/r/kuncodes/python-3.12-ubuntu-18.04)\n\nPull it directly with:\n```sh\ndocker pull kuncodes/python-3.12-ubuntu-18.04\n```\n\n## Why This Image?\nThis image is designed for compiling Python binaries with [Nuitka](https://nuitka.net/) on an older Ubuntu base. Using Ubuntu 18.04 ensures compatibility with older versions of glibc, making the resulting binaries runnable on a wider range of Linux distributions, including older ones.\n\n## Features\n- **Dockerfile**: Builds Python 3.12 on Ubuntu 18.04.\n- **Automated Patch Updates**: A GitHub Actions workflow (`update-python-patch.yml`) runs daily to check for the latest Python 3.12.x patch release and updates the Dockerfile accordingly.\n- **Pull Request Automation**: When a new patch is detected, the workflow automatically commits the change and opens a pull request.\n\n## Usage\n### Build the Docker Image\n```sh\ndocker build -t python:3.12-ubuntu18.04 .\n```\n\n### Run the Docker Image\n```sh\ndocker run -it python:3.12-ubuntu18.04 python --version\n```\n\n### Example: Compile with Nuitka for Maximum Compatibility\nYou can use this image to compile your Python scripts with Nuitka, ensuring the resulting binaries are compatible with older Linux distributions:\n\n```sh\ndocker run --rm -v \"$PWD:/src\" -w /src python:3.12-ubuntu18.04 \\\n    nuitka --onefile your_script.py\n```\n\n## Contributing\nPull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.\n\n## License\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkun-codes%2Fpython-3.12-ubuntu-18.04-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkun-codes%2Fpython-3.12-ubuntu-18.04-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkun-codes%2Fpython-3.12-ubuntu-18.04-docker/lists"}