Skip to content

Fix node to v14 in Dockerfile

Sandro Lutz requested to merge fix-build-pipeline into master

The build pipeline fails because there seems to be a newer npm version available than installed in the docker image with tag latest.

This is the error produced with the image node:latest.

Step 4/9 : RUN npm install
 ---> Running in 961b136b4b92
npm notice 
npm notice New patch version of npm available! 7.0.8 -> 7.0.13
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.0.13>
npm notice Run `npm install -g npm@7.0.13` to update!
npm notice 
npm ERR! Maximum call stack size exceeded
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-11-21T12_39_04_826Z-debug.log
The command '/bin/sh -c npm install' returned a non-zero code: 1

I suggest to also use specific tags for images used solely in the build pipeline.

Merge request reports

Loading