Skip to content

Commit

Permalink
cleanup and set proper value
Browse files Browse the repository at this point in the history
  • Loading branch information
BraisVQ committed Jan 17, 2025
1 parent 8623d87 commit 728a468
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions common/jenkins-agents/nodejs22/docker/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 728a468

Please sign in to comment.