From 2609aa1b918c42d2f0f68e3772f0e0e739707558 Mon Sep 17 00:00:00 2001 From: Griefed <griefed@griefed.de> Date: Fri, 15 Oct 2021 19:02:17 +0200 Subject: [PATCH] fix: Update nodejs and npm --- Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8a64c61..1123e01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,9 +29,19 @@ RUN \ ca-certificates \ curl \ git \ - nodejs \ + nodejs-current \ npm \ openjdk8 && \ + echo "node version is: " && \ + node -v && \ + echo "npm version is: " && \ + npm -v && \ + echo "updating npm..." && \ + npm update -g && \ + echo "node version is: " && \ + node -v && \ + echo "npm version is: " && \ + npm -v && \ echo "**** Installing GitLab Semantic Release ****" && \ npm install -g \ conventional-changelog-conventionalcommits \ -- GitLab