I’m trying to troubleshoot an issue I’m having with the new version of cimg/node:lts-browsers. I use this image with Lando, and it seems there’s been a change to the Linux user accounts. I think there used to be a ‘node’ user account, but that account has been replaced with an ‘ubuntu’ account.
I think this may be a result of the images now using a newer Ubuntu version. The breaking change happened in cimg/node:20.19.3. Can anyone confirm this and was this an expected change?
See Incompatibility with latest cimg/node:lts-browsers image, node user doesn't exist error during build · Issue #373 · lando/core · GitHub for more details about the error I’m getting in Lando when I use this new image.
I couldn’t see any sign of a node
user in the previous lts
image and they both run under the default of the circleci
user
$ docker run --rm --entrypoint id cimg/node:22.16.0-browsers
uid=1001(circleci) gid=1002(circleci) groups=1002(circleci)
$ docker run --rm --entrypoint id cimg/node:22.17.0-browsers
uid=1001(circleci) gid=1002(circleci) groups=1002(circleci)
Even if I look at the older image you mentioned, there is no node
user in the passwd
file
docker run --rm --entrypoint cat cimg/node:20.19.2-browsers /etc/passwd | grep node
finds nothing. So it doesn’t look like this was a change in the images, despite the issues you are having with lando.
Ok, thanks for looking into it. Perhaps Lando was adding the 'node` user and now there’s some other incompatibility in the new image that’s preventing that from working the way it used to. Hopefully they’ll be able to figure out what the problem is.
1 Like