Skip to content

feat: upgrade npm to latest version#30

Merged
megheaiulian merged 1 commit into
mainfrom
upgrade-npm
Apr 6, 2026
Merged

feat: upgrade npm to latest version#30
megheaiulian merged 1 commit into
mainfrom
upgrade-npm

Conversation

@cristinecula

Copy link
Copy Markdown
Contributor

Summary

  • Adds npm install -g npm@latest after nodejs installation to upgrade npm from bundled version (11.6.2) to latest (11.12.1)

Context

Node.js 24.x from NodeSource ships with npm 11.6.2 bundled. This change ensures npm is always at the latest stable version.

Testing

Build the image and verify:

docker build -t coder-base-test images/base/
docker run --rm coder-base-test npm --version

Should output 11.12.1 (or newer if available).

Node.js 24.x ships with npm 11.6.2, but the latest npm is 11.12.1.
Add npm upgrade step after nodejs installation to keep npm current.
@megheaiulian megheaiulian merged commit 9fb3571 into main Apr 6, 2026
3 checks passed
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