Please update npm version to 14. at least

hi, using sonar-scanner container to “npm install” one of my app, i have to use my npm install with '-g npm@latest" option. because in the sonar-scanner dockerfile, node version used is actually 10.x.
Can we update at least to node 14. instead of 10. which is a bit old lol.
thank you in advance
regards,
Nico7

Hi same Here; The version of Node inside this image is simply too old. Please upgrade Node version so NPM version follows aswell :wink:

Hello there :wave: and welcome to the community :slight_smile:

can you state which version of the image you are using? i just checked in our latest image and it is already on node 14

docker run -it --rm --entrypoint=/bin/sh --pull always sonarsource/sonar-scanner-cli
latest: Pulling from sonarsource/sonar-scanner-cli
5843afab3874: Already exists 
d0b54ed0fd89: Pull complete 
0678f156480a: Pull complete 
eeff44915420: Pull complete 
cda71bb4d262: Pull complete 
Digest: sha256:39b53bb1fafec8ba9a8cf2e901646f2c029251bc2d652139e4f2adb0c2ea425d
Status: Downloaded newer image for sonarsource/sonar-scanner-cli:latest
/usr/src # node --version
v14.17.4
/usr/src # npm --version
7.17.0

thank you for the quick answer and sorry for my bad english!
im using the latest one the 4.6 , from github

where did u pull ur image, cause yours will be perfect i think
thank u again for ur help !

i think these are the repos you are looking for: