Page MenuHomePhabricator

Provide a node 12 production image (based on bullseye?)
Closed, ResolvedPublic

Description

Node 10 is EOL. Bullseye ships with Node 12, though it's still in final testing and not released yet.

Event Timeline

Change 697672 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/docker-images/production-images@master] Provide nodejs12-slim and -devel based on Bullseye

https://gerrit.wikimedia.org/r/697672

In my work on T288542: Update nodejs libraries that fall within current semver constraints I have found that there is indeed a rapidly growing number of libraries that have dropped node v10 support since this ticket was created, many while also breaking semver with that removal.

Node v12 is already deep into maintenance mode and scheduled for EOL on 2022-04-30. Which is to say that a Bullseye based node will work for a short while, but a node v14 will be needed in the not too distant future. v14 will become the maintenance LTS for node on 2021-10-19 and then EOL on 2023-04-30. https://nodejs.org/en/about/releases/#releases

Change 697672 merged by Legoktm:

[operations/docker-images/production-images@master] Provide nodejs12-slim and -devel based on Bullseye

https://gerrit.wikimedia.org/r/697672

Mentioned in SAL (#wikimedia-operations) [2021-08-18T18:16:40Z] <legoktm> Successfully published image docker-registry.discovery.wmnet/nodejs12-devel:0.0.1, docker-registry.discovery.wmnet/nodejs12-slim:0.0.1 (T284346)

Legoktm assigned this task to Jdforrester-WMF.
Legoktm subscribed.

nodejs12 images are now available, however I would strongly recommend coordinating with ServiceOps when rolling out a new deployment built on bullseye/node12 since this is such a large change.