From 728a46865f6b4ff9317cd708cf4a3752e38d080d Mon Sep 17 00:00:00 2001 From: "Vazquez,Brais (IT EDP)" Date: Fri, 17 Jan 2025 14:07:51 +0100 Subject: [PATCH] cleanup and set proper value --- common/jenkins-agents/nodejs22/docker/Dockerfile.ubi8 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/jenkins-agents/nodejs22/docker/Dockerfile.ubi8 b/common/jenkins-agents/nodejs22/docker/Dockerfile.ubi8 index 4bd42a7f..2a61cb46 100644 --- a/common/jenkins-agents/nodejs22/docker/Dockerfile.ubi8 +++ b/common/jenkins-agents/nodejs22/docker/Dockerfile.ubi8 @@ -15,7 +15,7 @@ ARG nexusAuth ENV NODEJS_VERSION=22 \ YARN_VERSION=1.22.19 \ NPM_CONFIG_PREFIX=$HOME/.npm-global \ - NODE_EXTRA_CA_CERTS=/etc/pki/ca-trust/extracted/pem/objsign-ca-bundle.pem \ + NPM_CONFIG_CAFILE=/etc/pki/ca-trust/extracted/pem/objsign-ca-bundle.pem \ PATH=$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$HOME/node_modules/.bin/:$HOME/.npm-global/bin/:$PATH \ LANG=en_US.UTF-8 \ LC_ALL=en_US.UTF-8 @@ -59,7 +59,5 @@ RUN npm config set registry=$nexusUrl/repository/npmjs/ && \ RUN chown -R 1001:0 $HOME && \ chmod -R g+rwX $HOME && \ - chmod -R g+rwX /home/jenkins/.npm && \ - chown -R 1001:0 /home/jenkins/.npm USER 1001