Sync Ruby template image variants to devcontainers/images ruby v4 - #440
Merged
Abdurrahmaan Iqbal (abdurriq) merged 5 commits intoAug 28, 2026
Merged
Conversation
Co-authored-by: Kaniska244 <186041440+Kaniska244@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Sync template image variants with devcontainers/images
Sync Ruby template image variants to devcontainers/images ruby v4
Aug 28, 2026
Kaniska (Kaniska244)
approved these changes
Aug 28, 2026
Kaniska (Kaniska244)
marked this pull request as ready for review
August 28, 2026 09:37
Abdurrahmaan Iqbal (abdurriq)
approved these changes
Aug 28, 2026
Abdurrahmaan Iqbal (abdurriq)
deleted the
copilot/sync-template-image-variants
branch
August 28, 2026 09:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
rubyimage in devcontainers/images bumped to major version4(manifest4.0.2), leaving everyruby:3-*tag referenced by the Ruby templates unpublished (MISSING). The v4 image also dropped RVM in favor ofruby-build/rubies, so both the templates and their tests required updating.Changes
Repin image major
3→4src/ruby/.devcontainer/devcontainer.jsonsrc/ruby-rails-postgres/.devcontainer/DockerfileRe-derive
imageVariant.proposalsfrom the image manifest'svariants, replacing floating4-*with concrete4.0-*; setdefaultto4.0-trixie. Also cleaned up stray whitespace/formatting.src/ruby/devcontainer-template.jsonsrc/ruby-rails-postgres/devcontainer-template.jsonReplace removed RVM permission setup with a
rubygemsgroup that grantsvscodewrite access to$GEM_HOME(RVM no longer ships in the v4 image):Update tests to drop RVM/rbenv/nvs assumptions and validate the new
ruby-build/rubieslayout and gem writability:test/ruby-rails-postgres/test.sh— removed the two/usr/local/rvm/gemswrite-permission checks.test/universal/test.sh— swappedrvm/rbenv/nvschecks forruby-build, addedruby gems are writable, and repointed the version count from/usr/local/rvm/rubiesto/usr/local/rubies(expected count2).Bump
version6.0.1→6.0.2(patch) in both templates.Validation
npx tsx build/check-image-tags.ts <images>reports zero MISSING tags for both templates; updated test scripts pass against the v4 image; edited JSON formatted with Prettier.