Skip to content

Commit

Permalink
🫥 chown fix for npm error 🫥 (#748)
Browse files Browse the repository at this point in the history
* 🫥 chown fix for npm error 🫥

* 🫥 chown fix for npm error 🫥

* typo fix
  • Loading branch information
ckavili authored Apr 8, 2024
1 parent d110c3d commit 8923dc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jenkins-agents/jenkins-agent-npm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ RUN dnf module enable -y nodejs:${NODEJS_VERSION} && \
dnf clean all && \
npm install -g /tmp

RUN chown -R 1001:0 "/home/jenkins/.npm" && \
chmod -R 775 "/home/jenkins/.npm"

COPY --from=builder /usr/local/bin/yq /usr/local/bin/yq
COPY --from=builder /usr/local/bin/jq /usr/local/bin/jq

Expand Down

0 comments on commit 8923dc8

Please sign in to comment.