Skip to content

Commit

Permalink
ACAS-762 pin npm to get fix for too many connections issue npm/cli#7072
Browse files Browse the repository at this point in the history
  • Loading branch information
bffrost committed Apr 9, 2024
1 parent 32dff0f commit 5db9396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ ENV NPM_CONFIG_LOGLEVEL warn
ENV NODE_VERSION 18.x
RUN curl -fsSL https://rpm.nodesource.com/setup_$NODE_VERSION | bash - && \
dnf install -y nodejs
# ACAS-762 temporary fix for npm multi-arch build issue. Remove when Node is updated to > 18.20.1 and fix is confirmed
RUN npm install npm@10.5.1 -g

# ACAS
RUN useradd -u 1000 -ms /bin/bash runner
Expand Down

0 comments on commit 5db9396

Please sign in to comment.