Skip to content

feat(docker): add core container layer - #417

Open
mminutoli wants to merge 1 commit into
masterfrom
feat/core-container
Open

feat(docker): add core container layer#417
mminutoli wants to merge 1 commit into
masterfrom
feat/core-container

Conversation

@mminutoli

@mminutoli mminutoli commented May 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Introduces a new Dockerfile.core-ubu24 containing only Ubuntu 24.04 + Python 3.11-3.14 from deadsnakes PPA, built on public GitHub runners (ubuntu-latest) to reduce AMD GPU runner usage for the OS/Python layer.
  • Dockerfile.base-ubu24 now derives from the core image instead of raw ubuntu:24.04, removing its duplicated Python installation steps.
  • build-base-docker.yml gains a build-core-image job that runs first; build-base-images depends on it via needs: and pins the exact core image by commit SHA.
  • build/ci_build gains a build_core_dockers subcommand and fallback logic in build_base_dockers to build the core image on-the-fly if it's missing from GHCR.

Manylinux builder images are intentionally unchanged — they require quay.io/pypa/manylinux_2_28_x86_64 for glibc ABI compatibility.

Extract Ubuntu + deadsnakes Python into a standalone core image
built on public GitHub runners, reducing AMD runner usage for
the OS/Python layer that has no ROCm dependency.

- New Dockerfile.core-ubu24: ubuntu:24.04 + Python 3.11-3.14
- Dockerfile.base-ubu24 now derives from core instead of ubuntu
- build-base-docker.yml gains build-core-image job on ubuntu-latest
- build/ci_build gains build_core_dockers subcommand + fallback logic
@mminutoli
mminutoli force-pushed the feat/core-container branch from 1966289 to b4273ed Compare May 4, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant