From 62b42a6d3bcee407c092ac2a17603c2a4e806a44 Mon Sep 17 00:00:00 2001 From: Thibaut Vanderhaegen Date: Mon, 18 Mar 2024 09:51:00 +0100 Subject: [PATCH] DAJN-41: Bump Node.js to 20 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 63f603f..ab05b9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG PRIVATE_REGISTRY=hub.docker.nexus3.linkurious.net/ -FROM ${PRIVATE_REGISTRY}linkurious/docker-agent-jnlp:0.0.33 +FROM ${PRIVATE_REGISTRY}linkurious/docker-agent-jnlp:0.0.34 LABEL maintainer="Edward Nys " SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -34,9 +34,10 @@ RUN git clone --depth 1 --branch "$NVM_VERSION" https://github.com/nvm-sh/nvm.gi && echo -e 'export NVM_DIR="$HOME/.nvm"\n[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm\n' >> ~/.profile \ && source ~/.bashrc \ && export NVM_DIR="$HOME/.nvm" && \. "$NVM_DIR/nvm.sh" \ + && nvm install 14.21.3 \ && nvm install 16.20.2 \ && nvm install 18.19.1 \ - && nvm install 14.21.3 + && nvm install 20.11.1 # for loading profile, to make nvm available for sh ENV ENV='$HOME/.profile'