Skip to content

Commit

Permalink
Update Dockerfile (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdstolworthy committed May 10, 2022
1 parent ffeaaa0 commit a3df655
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jenkins-agents/jenkins-agent-npm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG JQ_VERSION=1.6
ARG OC_VERSION=4.8
ARG YQ_VERSION=4.6.3

ENV NODEJS_VERSION=12 \
ENV NODEJS_VERSION=16 \
NPM_CONFIG_PREFIX=$HOME/.npm-global \
PATH=$HOME/node_modules/.bin/:$HOME/.npm-global/bin/:$PATH

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

0 comments on commit a3df655

Please sign in to comment.