Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 18, 2025

Bumps node from 20.17.0-alpine to 25.2.1-alpine.

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
node [>= 22.8.a, < 22.9]
node [>= 22.7.a, < 22.8]
node [>= 22.a, < 23]
node [>= 21.a, < 22]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file docker Pull requests that update Docker code labels Dec 18, 2025
Bumps node from 20.17.0-alpine to 25.2.1-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 25.2.1-alpine
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/docker/node-25.2.1-alpine branch from 8f97bbe to 430bfef Compare December 22, 2025 06:06
@SimmerV
Copy link
Collaborator

SimmerV commented Dec 22, 2025

This upgrade requires a fix for corepack compatibility. The following changes need to be made to both Dockerfile.spa and Dockerfile.spa.dev:

Add these lines before RUN yarn:

RUN rm -f /usr/local/bin/yarn /usr/local/bin/yarnpkg
RUN npm install -g corepack
RUN corepack enable

Node.js 25.2.1-alpine has yarn version conflicts that require corepack to manage the yarn@4.2.2 specified in package.json.

- remove conflicting yarn binaries
- install and enable corepack to manage yarn@4.2.2
-resolves build failures with Node.js 25.2.1-alpine
@SimmerV
Copy link
Collaborator

SimmerV commented Dec 24, 2025

To better optimize the build, instead of removing the yarn bin instead we can add a force tag to the corepack install.

RUN npm install -g corepack --force
RUN corepack enable

@SimmerV
Copy link
Collaborator

SimmerV commented Dec 26, 2025

Reverting back to removing the pre-installed bin prior to installing corepack. The pre-installed Yarn version in Node 25.2.1-alpine is Yarn 1.x which is no longer developed and outdated. This allows corepack to manage Yarn 4.2.2 which Meshinfo specifies in package.json

This also avoids potential conflicts later with only the --force tag.

@SimmerV SimmerV merged commit 9f4061e into develop Dec 26, 2025
2 checks passed
@SimmerV SimmerV deleted the dependabot/docker/node-25.2.1-alpine branch December 26, 2025 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file docker Pull requests that update Docker code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants