{"id":19462892,"url":"https://github.com/uninen/docker-images","last_synced_at":"2025-04-15T02:44:24.072Z","repository":{"id":103990840,"uuid":"606805643","full_name":"Uninen/docker-images","owner":"Uninen","description":"Optimized Docker images for Python / Node production + development","archived":false,"fork":false,"pushed_at":"2025-04-14T16:01:24.000Z","size":122,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T02:44:18.965Z","etag":null,"topics":["docker","nodejs","python"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/uninen/python","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/Uninen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-02-26T16:12:29.000Z","updated_at":"2025-04-14T16:00:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"216b2d97-e637-46a0-bd68-45a1fcbfb435","html_url":"https://github.com/Uninen/docker-images","commit_stats":{"total_commits":73,"total_committers":2,"mean_commits":36.5,"dds":0.0273972602739726,"last_synced_commit":"2e268a7662ccae686af8a80d3b95ff7d861ee19d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uninen%2Fdocker-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uninen%2Fdocker-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uninen%2Fdocker-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uninen%2Fdocker-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uninen","download_url":"https://codeload.github.com/Uninen/docker-images/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997087,"owners_count":21195797,"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","nodejs","python"],"created_at":"2024-11-10T18:06:29.051Z","updated_at":"2025-04-15T02:44:24.060Z","avatar_url":"https://github.com/Uninen.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Images\n\nPurpose-built images for (audio-related) Python projects.\n\nThese images are mostly based on Python slim, adding a non-root user and basic dependencies needed for most Django / Python / Node projects. The images are designed to be complete and secure enough **for production**.\n\nThe images are regularly re-built to keep up with security updates. Combine with automatically polled image updates in your production (for example with [Traefik](https://traefik.io/) + [Watchtower](https://containrrr.dev/watchtower/)) and you get automatic security updates in production.\n\nContributions welcome!\n\n## Features\n\n- Slimmer than `python` base images but still include production deps\n- Built for **linux/amd64 and linux/arm64 platforms**\n- Latest `pip`, `uv` or `pip-tools`, PostgreSQL 16 client and essential system packages preinstalled\n- Non-root `duser` user added (home at `/home/duser/`)\n- Python-related environment variables and paths set\n- Based on Debian 12 (bookworm) base image\n\nSee package lists at [sripts/](scripts/) for details of the actual preinstalled packages.\n\n## Images\n\n| Name                    | Description                                                                                 |\n| ----------------------- | ------------------------------------------------------------------------------------------- |\n| `python`                | Python, build tools, uv, PosgreSQL dependencies.                                            |\n| `python-audio`          | Python, build tools, uv, PosgreSQL, tools for audio manipulation.                           |\n| `python-postgis`        | Python, build tools, PosgreSQL + PostGIS dependencies.                                      |\n| `python-postgis-mysql ` | Python, build tools, uv, ffmpeg, PosgreSQL + PostGIS + MySQL dependencies.                  |\n| `python-postgis-node `  | Python, build tools, uv, PosgreSQL + PostGIS dependencies, and Node 20 + pnpm.              |\n| `python-dev`            | Development image based on `python-postgis-node` with Playwright, uv + dev packages.        |\n| `node`                  | Node 22 and pnpm 10.                                                                        |\n| `nginx-ffmpeg`          | Nginx, nginx-http-flv-module, ffmpeg from [deb-multimedia](https://www.deb-multimedia.org/) |\n\n## Using\n\nMaintained images and tags:\n\n- `uninen/python-dev:latest` (legacy tags: `3.12`, `3.11`)\n- `uninen/python:3.13` (legacy tags: `3.12`, `3.11`)\n- `uninen/python-audio:3.13` (legacy tags: `3.12`)\n- `uninen/python-postgis:3.13` (legacy tags: `3.12`, `3.11`)\n- `uninen/python-postgis-mysql:3.13`\n- `uninen/python-postgis-node:3.13` (legacy tags: `3.12`, `3.11`)\n- `uninen/node:22` (legacy tags: `20`)\n- `uninen/nginx-ffmpeg:latest`\n\nSee `py-test-app/` for example usage in a project.\n\n## Building Manually\n\nIf you don't yet have a builder ready, first run `docker buildx create --use` then;\n\n### python-dev (tags: latest, 3.12, 3.11)\n\n```sh\ndocker buildx build --platform linux/amd64,linux/arm64 -f python-dev.Dockerfile -t uninen/python-dev:latest . --push\n```\n\n### python (tags: 3.13, 3.12, 3.11)\n\n```sh\ndocker buildx build --platform linux/amd64,linux/arm64 -f python-3.13.Dockerfile -t uninen/python:3.13 . --push\n```\n\n### python-audio (tags: 3.13, 3.12)\n\n```sh\ndocker buildx build --platform linux/amd64,linux/arm64 -f python-audio.Dockerfile -t uninen/python-audio:3.13 . --push\n```\n\n### python-postgis (tags: 3.13, 3.12, 3.11)\n\n```sh\ndocker buildx build --platform linux/amd64,linux/arm64 -f python-postgis-3.13.Dockerfile -t uninen/python-postgis:3.13 . --push\n```\n\n### python-postgis-mysql (tags: 3.13)\n\n```sh\ndocker buildx build --platform linux/amd64,linux/arm64 -f python-postgis-mysql.Dockerfile -t uninen/python-mysql-node:3.13 . --push\n```\n\n### python-postgis-node (tags: 3.13, 3.12, 3.11)\n\n```sh\ndocker buildx build --platform linux/amd64,linux/arm64 -f python-postgis-node.Dockerfile -t uninen/python-postgis-node:3.13 . --push\n```\n\n### node (tags: 22, 20)\n\n```sh\n# test\ndocker build -f node-22.Dockerfile -t uninen/node:22 .\n# prod\ndocker buildx build --platform linux/amd64,linux/arm64 -f node-22.Dockerfile -t uninen/node:22 . --push\n```\n\n### nginx-ffmpeg (tags: latest)\n\n```sh\ndocker buildx build --platform linux/amd64,linux/arm64 -f nginx-ffmpeg.Dockerfile -t uninen/nginx-ffmpeg:latest . --push\ndocker buildx build -f nginx-ffmpeg.Dockerfile -t uninen/nginx-ffmpeg:latest .\n```\n\n## Testing\n\n```sh\ncd py-test-app\ndocker compose build\ndocker compose up\n```\n\n## Common Issues\n\n- In case of GPG signature errors from apt, try `docker builder prune` on macOS\n\n## License\n\n[MIT](./LICENCE)\n\n---\n\nFollow [@Uninen on Twitter](https://twitter.com/uninen) | [GitHub](https://github.com/Uninen)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funinen%2Fdocker-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funinen%2Fdocker-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funinen%2Fdocker-images/lists"}