Skip to content

Use Ruby 4 for builder image and cache it#311

Merged
nmburgan merged 3 commits into
mainfrom
fix-build-use-ruby-image
May 12, 2026
Merged

Use Ruby 4 for builder image and cache it#311
nmburgan merged 3 commits into
mainfrom
fix-build-use-ruby-image

Conversation

@nmburgan
Copy link
Copy Markdown
Member

Rather than recreate the builder container every time using rbenv, which takes quite a while, this uses the off-the-shell Ruby 4 Bookworm image. It also caches the image in GitHub for the PR job that tests the build.

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

Rather than recreate the builder container every time using rbenv, which takes quite a while, this uses the off-the-shell Ruby 4 Bookworm image. It also caches the image in GitHub for the PR job that tests the build.

Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
@Sharpie
Copy link
Copy Markdown
Member

Sharpie commented May 12, 2026

Looks like builds are failing because bundle install dropped the --path argument in Ruby 4.0. Might have to replace it with:

bundle config set path '.bundle/gems' && bundle install ...

@nmburgan
Copy link
Copy Markdown
Member Author

Ah yes, another enforced Rubyism despite the fact I don't care about it being remembered across bundler invocations, and I specifically don't want it remembered across bundler invocations. Arg.

@nmburgan
Copy link
Copy Markdown
Member Author

OpenVoxProject/ezbake#96 should fix it

nmburgan added 2 commits May 12, 2026 14:33
Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
@nmburgan nmburgan merged commit 1d0dee8 into main May 12, 2026
21 of 25 checks passed
@nmburgan nmburgan deleted the fix-build-use-ruby-image branch May 12, 2026 21:44
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.

2 participants