Skip to content

feat: Strip Yarn from 26+ images#2422

Open
nschonni wants to merge 1 commit intonodejs:mainfrom
nschonni:remove-yarn-from-node-26
Open

feat: Strip Yarn from 26+ images#2422
nschonni wants to merge 1 commit intonodejs:mainfrom
nschonni:remove-yarn-from-node-26

Conversation

@nschonni
Copy link
Member

Description

When update.sh is run on any images for 26+, the Yarn portion of the Dockerfile will be stripped out.

Fixes #2407

Motivation and Context

Testing Details

You can locally change the "26" to "24" or "25" in the condition locally, and see the diff created for those previous images.

Example Output(if appropriate)

Types of changes

  • Documentation
  • Version change (Update, remove or add more Node.js versions)
  • Variant change (Update, remove or add more variants, or versions of variants)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Other (none of the above)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING.md document.
  • All new and existing tests passed.

@nschonni nschonni force-pushed the remove-yarn-from-node-26 branch from 6c5cfd8 to 9328841 Compare March 16, 2026 23:36
@nschonni nschonni requested a review from a team March 16, 2026 23:37
Copy link
Contributor

@MikeMcC399 MikeMcC399 left a comment

Choose a reason for hiding this comment

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

I tested it and it looks good! It's a bit simpler than what I suggested.

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.

Prepare Yarn v1 removal in Node.js 26 images

2 participants