From ce8a7f58edf91ccb3ccaee0ea650d40a5de30232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Tue, 26 Nov 2024 15:48:23 +0100 Subject: [PATCH] Update minor and patch versions for NodeJS environment (#194) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Pupier --- universal/ubi8/Dockerfile | 8 ++++---- universal/ubi9/Dockerfile | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/universal/ubi8/Dockerfile b/universal/ubi8/Dockerfile index cfefcfa9..27f041bc 100644 --- a/universal/ubi8/Dockerfile +++ b/universal/ubi8/Dockerfile @@ -75,17 +75,17 @@ ENV PATH="/home/tooling/.local/share/coursier/bin:$PATH" # NodeJS RUN mkdir -p /home/tooling/.nvm/ ENV NVM_DIR="/home/tooling/.nvm" -ENV NODEJS_20_VERSION=20.18.0 -ENV NODEJS_18_VERSION=18.19.1 +ENV NODEJS_20_VERSION=20.18.1 +ENV NODEJS_18_VERSION=18.20.5 ENV NODEJS_DEFAULT_VERSION=${NODEJS_18_VERSION} -RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | PROFILE=/dev/null bash +RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | PROFILE=/dev/null bash RUN echo 'export NVM_DIR="$HOME/.nvm"' >> ${PROFILE_EXT} \ && echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ${PROFILE_EXT} RUN source /home/user/.bashrc && \ nvm install v${NODEJS_20_VERSION} && \ nvm install v${NODEJS_18_VERSION} && \ nvm alias default v${NODEJS_DEFAULT_VERSION} && nvm use v${NODEJS_DEFAULT_VERSION} && \ - npm install --global yarn@v1.22.17 &&\ + npm install --global yarn@v1.22.22 &&\ chgrp -R 0 /home/tooling && chmod -R g=u /home/tooling ENV PATH=$NVM_DIR/versions/node/v${NODEJS_DEFAULT_VERSION}/bin:$PATH ENV NODEJS_HOME_20=$NVM_DIR/versions/node/v${NODEJS_20_VERSION} diff --git a/universal/ubi9/Dockerfile b/universal/ubi9/Dockerfile index 29bfba60..c205ddaa 100644 --- a/universal/ubi9/Dockerfile +++ b/universal/ubi9/Dockerfile @@ -75,17 +75,17 @@ ENV PATH="/home/tooling/.local/share/coursier/bin:$PATH" # NodeJS RUN mkdir -p /home/tooling/.nvm/ ENV NVM_DIR="/home/tooling/.nvm" -ENV NODEJS_20_VERSION=20.18.0 -ENV NODEJS_18_VERSION=18.19.1 +ENV NODEJS_20_VERSION=20.18.1 +ENV NODEJS_18_VERSION=18.20.5 ENV NODEJS_DEFAULT_VERSION=${NODEJS_18_VERSION} -RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | PROFILE=/dev/null bash +RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | PROFILE=/dev/null bash RUN echo 'export NVM_DIR="$HOME/.nvm"' >> ${PROFILE_EXT} \ && echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ${PROFILE_EXT} RUN source /home/user/.bashrc && \ nvm install v${NODEJS_20_VERSION} && \ nvm install v${NODEJS_18_VERSION} && \ nvm alias default v${NODEJS_DEFAULT_VERSION} && nvm use v${NODEJS_DEFAULT_VERSION} && \ - npm install --global yarn@v1.22.17 &&\ + npm install --global yarn@v1.22.22 &&\ chgrp -R 0 /home/tooling && chmod -R g=u /home/tooling ENV PATH=$NVM_DIR/versions/node/v${NODEJS_DEFAULT_VERSION}/bin:$PATH ENV NODEJS_HOME_20=$NVM_DIR/versions/node/v${NODEJS_20_VERSION}