Title: Prepare Yarn v1 removal in Node.js 26 images · Issue #2407 · nodejs/docker-node · GitHub
Open Graph Title: Prepare Yarn v1 removal in Node.js 26 images · Issue #2407 · nodejs/docker-node
X Title: Prepare Yarn v1 removal in Node.js 26 images · Issue #2407 · nodejs/docker-node
Description: Proposes to implement #2264 for Node.js >=26 Follows on from PR #2368 Problem Images include Yarn v1 by default TSC endorsed the removal of Yarn v1 for images based on Node.js 26 and above as currently described in Yarn v1 Classic bundli...
Open Graph Description: Proposes to implement #2264 for Node.js >=26 Follows on from PR #2368 Problem Images include Yarn v1 by default TSC endorsed the removal of Yarn v1 for images based on Node.js 26 and above as curre...
X Description: Proposes to implement #2264 for Node.js >=26 Follows on from PR #2368 Problem Images include Yarn v1 by default TSC endorsed the removal of Yarn v1 for images based on Node.js 26 and above as cu...
Opengraph URL: https://github.com/nodejs/docker-node/issues/2407
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Prepare Yarn v1 removal in Node.js 26 images","articleBody":"- Proposes to implement https://github.com/nodejs/docker-node/issues/2264 for Node.js \u003e=26\n- Follows on from PR https://github.com/nodejs/docker-node/pull/2368\n\n## Problem\n\n- Images include Yarn v1 by default\n\n- TSC endorsed the removal of Yarn v1 for images based on Node.js 26 and above as currently described in [Yarn v1 Classic bundling](https://github.com/nodejs/docker-node/blob/main/README.md#yarn-v1-classic-bundling)\n\n## Suggested Solution\n\n- Update each of the template files to add beginning and end markers for the Yarn installation section\n - [Dockerfile-alpine.template](https://github.com/nodejs/docker-node/blob/main/Dockerfile-alpine.template)\n - [Dockerfile-debian.template](https://github.com/nodejs/docker-node/blob/main/Dockerfile-debian.template)\n - [Dockerfile-slim.template](https://github.com/nodejs/docker-node/blob/main/Dockerfile-slim.template)\n\n ```Dockerfile\n # YARN_INSTALLATION_START\n ENV YARN_VERSION=0.0.0\n\n RUN set -ex \\\n # use pre-existing gpg directory, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150\n \u0026\u0026 export GNUPGHOME=\"$(mktemp -d)\" \\\n ...\n # smoke test\n \u0026\u0026 yarn --version \\\n \u0026\u0026 rm -rf /tmp/*\n # YARN_INSTALLATION_END\n ```\n\n- In [update.sh](https://github.com/nodejs/docker-node/blob/main/update.sh) use `sed` to remove the marked Yarn installation section for `version` \u003e= 26 when specific `Dockerfile`s are created based on the templates\n\n- Update documentation accordingly\n\n- This should be implemented before the planned release date of Node.js 26.0.0 on 2026-04-22","author":{"url":"https://github.com/MikeMcC399","@type":"Person","name":"MikeMcC399"},"datePublished":"2026-03-08T10:35:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/2407/docker-node/issues/2407"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b5ef4cf1-2d47-8b8d-5485-10775efd0086 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DDC:CD884:1124BCF:17D39C9:6A4E91BA |
| html-safe-nonce | f80200194a97b726fdb87ea952b1d4488c512c90126657df148e67057e57ba77 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RERDOkNEODg0OjExMjRCQ0Y6MTdEMzlDOTo2QTRFOTFCQSIsInZpc2l0b3JfaWQiOiI1MDcyNTE5Mjk1MDU5MDA1ODgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c19f41269fe5108320847d601fa71c6cfd71bb5b7f79e4f36ac8100024df0c97 |
| hovercard-subject-tag | issue:4041030775 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/docker-node/2407/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2af71c7f7bacfad8587310c63fa13fb9e75c4ca47683cd8c9cfffdb01e890e2c/nodejs/docker-node/issues/2407 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2af71c7f7bacfad8587310c63fa13fb9e75c4ca47683cd8c9cfffdb01e890e2c/nodejs/docker-node/issues/2407 |
| og:image:alt | Proposes to implement #2264 for Node.js >=26 Follows on from PR #2368 Problem Images include Yarn v1 by default TSC endorsed the removal of Yarn v1 for images based on Node.js 26 and above as curre... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MikeMcC399 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/docker-node git https://github.com/nodejs/docker-node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27929056 |
| octolytics-dimension-repository_nwo | nodejs/docker-node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27929056 |
| octolytics-dimension-repository_network_root_nwo | nodejs/docker-node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width