Used docker run -it --entrypoint=/bin/bash -v ./:/tmp/node node:9 then cd /tmp/node && npm install pg:8.7.1 to update the package-lock.json, and updated the Dockerfile to use nodejs 10 like in the ./tools/node script called by the Makefile.
Replaced npm install by npm ci (introduced in npm version 5.7.0, while the last nodejs 9 image contains npm 5.6.0) to get deterministic builds based on package-lock.json, only updated by contributors of this repo.
Used
docker run -it --entrypoint=/bin/bash -v ./:/tmp/node node:9
thencd /tmp/node && npm install pg:8.7.1
to update the package-lock.json, and updated the Dockerfile to use nodejs 10 like in the ./tools/node script called by the Makefile.Replaced
npm install
bynpm ci
(introduced in npm version 5.7.0, while the last nodejs 9 image contains npm 5.6.0) to get deterministic builds based on package-lock.json, only updated by contributors of this repo.