{"id":25239374,"url":"https://github.com/crafterkolyan/tiny-python-docker-image","last_synced_at":"2025-10-26T14:30:46.637Z","repository":{"id":45240226,"uuid":"354974863","full_name":"CrafterKolyan/tiny-python-docker-image","owner":"CrafterKolyan","description":"The most lightweight python docker image possible","archived":false,"fork":false,"pushed_at":"2024-04-11T04:43:23.000Z","size":106,"stargazers_count":40,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-11T05:53:26.801Z","etag":null,"topics":["docker","docker-image","lightweight","python","small","tiny"],"latest_commit_sha":null,"homepage":"","language":"Python","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/CrafterKolyan.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2021-04-05T21:15:08.000Z","updated_at":"2024-04-15T06:19:41.120Z","dependencies_parsed_at":"2023-12-19T07:08:38.330Z","dependency_job_id":"9cef052a-fca9-4eb6-853f-894dd6c19c0d","html_url":"https://github.com/CrafterKolyan/tiny-python-docker-image","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrafterKolyan%2Ftiny-python-docker-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrafterKolyan%2Ftiny-python-docker-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrafterKolyan%2Ftiny-python-docker-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrafterKolyan%2Ftiny-python-docker-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrafterKolyan","download_url":"https://codeload.github.com/CrafterKolyan/tiny-python-docker-image/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238345929,"owners_count":19456650,"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","lightweight","python","small","tiny"],"created_at":"2025-02-11T18:27:38.167Z","updated_at":"2025-10-26T14:30:46.632Z","avatar_url":"https://github.com/CrafterKolyan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Tiny Python Docker image\n========================\n\nThe most lightweight Python 3 Docker image possible.\n\n.. image:: https://github.com/CrafterKolyan/tiny-python-docker-image/actions/workflows/update-repository.yml/badge.svg?branch=main\n    :target: https://github.com/CrafterKolyan/tiny-python-docker-image/actions/workflows/update-repository.yml\n\nPossible variants\n-----------------\n\n.. csv-table::\n    :header: Dockerfile,Description,Size,Version\n    :widths: 10, 70, 10, 10\n\n    Dockerfile.scratch-minimal,Minimal Python image with almost no libraries from scratch,7.542 MB,3.12.12\n    Dockerfile.scratch-full,Smallest Python image with default libraries from scratch,23.41 MB,3.12.12\n    Dockerfile.haizaar-minimal,Stripped official Python image (`haizaar/python-minimal`_),37.27 MB,3.14.0\n    Dockerfile.python-alpine,Python Alpine-based Official,47 MB,3.14.0\n    Dockerfile.alpine,Alpine-based,49.19 MB,3.12.12\n    Dockerfile.ubuntu,Ubuntu-based,116.7 MB,3.12.3\n    Dockerfile.python-slim,Minimal packages needed to run python,118.8 MB,3.14.0\n    Dockerfile.python,Python Debian-based Official with a lot of packages,1115 MB,3.14.0\n\nRequirements\n------------\n- Docker\n\nUsage\n-----\nBuilding image\n``````````````\n.. code-block:: bash\n\n    docker build -t python-tiny . -f \u003cDockerfile name\u003e\n\nFor example:\n\n.. code-block:: bash\n\n    docker build -t python-tiny . -f Dockerfile.scratch-full\n\nRunning image\n`````````````\n.. code-block:: bash\n\n  docker run --rm -it python-tiny\n\nTechnologies\n------------\n- Docker\n- :code:`ldd` (prints the shared libraries required by each program or shared library specified on the command line): used to create :code:`scratch-full` and :code:`scratch-minimal` images.\n\nRelated links\n-------------\n- https://xebia.com/blog/how-to-create-the-smallest-possible-docker-container-of-any-image/\n- https://xebia.com/blog/create-the-smallest-possible-docker-container/\n\nRelated projects\n----------------\n- https://github.com/jfloff/alpine-python\n- https://github.com/haizaar/docker-python-minimal\n\n.. _haizaar/python-minimal: https://github.com/haizaar/docker-python-minimal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrafterkolyan%2Ftiny-python-docker-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrafterkolyan%2Ftiny-python-docker-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrafterkolyan%2Ftiny-python-docker-image/lists"}