{"id":39086066,"url":"https://github.com/twsl/dbx-container","last_synced_at":"2026-01-17T18:39:37.261Z","repository":{"id":328289404,"uuid":"946736380","full_name":"twsl/dbx-container","owner":"twsl","description":"Create databricks runtime containers","archived":false,"fork":false,"pushed_at":"2026-01-13T03:04:00.000Z","size":547,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T06:38:31.637Z","etag":null,"topics":["databricks","dbx","gpu","runtime"],"latest_commit_sha":null,"homepage":"https://twsl.github.io/dbx-container/","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/twsl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-11T15:43:25.000Z","updated_at":"2026-01-13T03:02:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac7f0f0c-d785-4ee5-97e8-5365010bf918","html_url":"https://github.com/twsl/dbx-container","commit_stats":null,"previous_names":["twsl/dbx-container"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/twsl/dbx-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twsl%2Fdbx-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twsl%2Fdbx-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twsl%2Fdbx-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twsl%2Fdbx-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twsl","download_url":"https://codeload.github.com/twsl/dbx-container/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twsl%2Fdbx-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28516198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:28:00.501Z","status":"ssl_error","status_checked_at":"2026-01-17T18:28:00.150Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["databricks","dbx","gpu","runtime"],"created_at":"2026-01-17T18:39:36.682Z","updated_at":"2026-01-17T18:39:37.237Z","avatar_url":"https://github.com/twsl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dbx-container\n\n[![Build](https://github.com/twsl/dbx-container/actions/workflows/build.yaml/badge.svg)](https://github.com/twsl/dbx-container/actions/workflows/build.yaml)\n[![Documentation](https://github.com/twsl/dbx-container/actions/workflows/docs.yaml/badge.svg)](https://github.com/twsl/dbx-container/actions/workflows/docs.yaml)\n[![Docs with MkDocs](https://img.shields.io/badge/MkDocs-docs?style=flat\u0026logo=materialformkdocs\u0026logoColor=white\u0026color=%23526CFE)](https://squidfunk.github.io/mkdocs-material/)\n[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)\n[![linting: ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](.pre-commit-config.yaml)\n[![Checked with pyright](https://microsoft.github.io/pyright/img/pyright_badge.svg)](https://microsoft.github.io/pyright/)\n[![security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)\n[![Semantic Versions](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--versions-e10079.svg)](https://github.com/twsl/dbx-container/releases)\n[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-border.json)](https://github.com/copier-org/copier)\n[![License](https://img.shields.io/badge/license-MIT-blue)](LICENSE)\n\nCreate databricks runtime containers, [vibe coded](https://x.com/karpathy/status/1886192184808149383).\n\nDocker images are losely based on the [container definitions](https://github.com/databricks/containers) and [runtime information](https://docs.databricks.com/aws/en/release-notes/runtime/).\n\n## Features\n\n- Generate Dockerfiles for all Databricks runtime versions\n- Support for multiple image types: minimal, standard, python (all as GPU variants where applicable)\n- LTS runtime support with ML variants\n- Automated CI/CD pipeline for building and publishing images\n- Multiple OS and Python version variations\n- Built-in runtime metadata and version tracking\n\n## Installation\n\nWith `pip`:\n\n```bash\npython -m pip install dbx-container\n```\n\nWith [`poetry`](https://python-poetry.org/):\n\n```bash\npoetry add dbx-container\n```\n\n## How to use it\n\n### Generate Dockerfiles\n\nGenerate Dockerfiles for all Databricks runtimes:\n\n```bash\npoetry run dbx-container build\n```\n\nGenerate for a specific runtime:\n\n```bash\npoetry run dbx-container build --runtime-version \"15.4 LTS\"\n```\n\nGenerate for a specific image type:\n\n```bash\npoetry run dbx-container build --image-type gpu\n```\n\n### List Available Runtimes\n\nView all supported Databricks runtime versions:\n\n```bash\npoetry run dbx-container list\n```\n\n### Build Docker Images\n\nBuild all LTS images locally:\n\n```bash\n./scripts/build_images.sh\n```\n\nBuild and push to a registry:\n\n```bash\n./scripts/build_images.sh --push --registry ghcr.io\n```\n\n### Use Pre-built Images\n\nPull from GitHub Container Registry:\n\n```bash\ndocker pull ghcr.io/twsl/dbx-runtime:python-17.3-lts-ubuntu2404-py312\n```\n\n## Available Image Types\n\n- **minimal** - Base Ubuntu with Java (non-runtime-specific)\n- **minimal-gpu** - Base GPU image with CUDA and Java (non-runtime-specific)\n- **standard** - Standard with SSH server and FUSE support (non-runtime-specific)\n- **standard-gpu** - GPU standard with SSH and FUSE (non-runtime-specific)\n- **python** - Python runtime with virtualenv (runtime-specific)\n- **python-gpu** - GPU Python with CUDA support (runtime-specific)\n- **gpu** - Standalone GPU-enabled container (non-runtime-specific)\n\nEach LTS runtime includes:\n\n- Base variant (standard runtime)\n- ML variant (machine learning runtime)\n- Multiple OS versions (Ubuntu 22.04, 24.04)\n- Appropriate Python versions (3.8-3.12)\n\n## CI/CD Pipeline\n\nThe project includes a GitHub Actions workflow that:\n\n1. Automatically generates Dockerfiles for all LTS runtimes\n2. Builds images in parallel using matrix strategy\n3. Pushes to GitHub Container Registry on main branch\n4. Supports manual triggering with filters\n\nSee [Docker Build Guide](docs/docs/docker-build.md) for detailed documentation.\n\n## Docs\n\n```bash\npoetry run mkdocs build -f ./docs/mkdocs.yml -d ./_build/\n```\n\n## Update template\n\n```bash\ncopier update --trust -A --vcs-ref=HEAD\n```\n\n## Credits\n\nThis project was generated with [![🚀 A generic python project template.](https://img.shields.io/badge/python--project--template-%F0%9F%9A%80-brightgreen)](https://github.com/twsl/python-project-template)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwsl%2Fdbx-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwsl%2Fdbx-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwsl%2Fdbx-container/lists"}