Skip to content

Commit a3df655

Browse files
authored
Update Dockerfile (#578)
1 parent ffeaaa0 commit a3df655

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jenkins-agents/jenkins-agent-npm/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG JQ_VERSION=1.6
55
ARG OC_VERSION=4.8
66
ARG YQ_VERSION=4.6.3
77

8-
ENV NODEJS_VERSION=12 \
8+
ENV NODEJS_VERSION=16 \
99
NPM_CONFIG_PREFIX=$HOME/.npm-global \
1010
PATH=$HOME/node_modules/.bin/:$HOME/.npm-global/bin/:$PATH
1111

@@ -19,7 +19,6 @@ RUN INSTALL_PKGS="nodejs" && \
1919
rm -rf /var/cache/yum && \
2020
npm install --unsafe-perm -g npm-audit-html npm-audit-ci-wrapper sonar-scanner || cat /home/jenkins/.npm/_logs/*-debug.log && \
2121
chown root:root /home/jenkins -R && \
22-
chmod 775 /home/jenkins/.config -R && \
2322
chmod 775 /home/jenkins/.npm -R && \
2423
curl -Lo /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64 && \
2524
chmod +x /usr/local/bin/jq && \

0 commit comments

Comments
 (0)