Skip to content

Switch docker compose to use pre-built docker images#1659

Merged
austinabell merged 9 commits intorelease-1.2from
austin/docker_prebuild
Feb 20, 2026
Merged

Switch docker compose to use pre-built docker images#1659
austinabell merged 9 commits intorelease-1.2from
austin/docker_prebuild

Conversation

@austinabell
Copy link
Contributor

The pattern will be that for release-x branches, we will constrain the prebuilt docker images to use latest minor version, and then for main when this gets backported, will switch that version to latest. latest overriden for every new release, release-x.x updated whenever new patch versions of that specific maj/min are published. We just need to constrain that patch releases don't contain breaking changes with this, otherwise we will need to specify speciifc patch versions on the version used by default (not ideal).

Other:

  • CI release action switched to gh because old was deprecated and broken
  • Build pre-built docker images, switch default to use those images
    • When specifying BOUNDLESS_BUILD=..., the binaries that are specified are build from source, using pre-built native binaries no longer used by default

build-bento:
name: Build Bento Components
runs-on: [ self-hosted, prod, "Linux", "cpu" ]
runs-on: ubuntu-latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intentional to keep on ubuntu-latest?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, the ami we were using is currently broken for building bento

Copy link
Contributor

@zeroecco zeroecco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved. Only thing to note here is how the image is built. ptxas can't cross compile newer -> older. If a user is on cuda 12.8 and needs to cross compile to a sm_code we do not support in the container AND we compile on cuda 12.9 the binary will not work for that user.

@austinabell austinabell merged commit ba84ff5 into release-1.2 Feb 20, 2026
30 of 38 checks passed
@austinabell austinabell deleted the austin/docker_prebuild branch February 20, 2026 01:09
austinabell added a commit that referenced this pull request Feb 20, 2026
The pattern will be that for `release-x` branches, we will constrain the
prebuilt docker images to use latest minor version, and then for main
when this gets backported, will switch that version to `latest`.
`latest` overriden for every new release, `release-x.x` updated whenever
new patch versions of that specific maj/min are published. We just need
to constrain that patch releases don't contain breaking changes with
this, otherwise we will need to specify speciifc patch versions on the
version used by default (not ideal).

Other:
- CI release action switched to gh because old was deprecated and broken
- Build pre-built docker images, switch default to use those images
- When specifying `BOUNDLESS_BUILD=...`, the binaries that are specified
are build from source, using pre-built native binaries no longer used by
default
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.

3 participants