From 5db9396d8685e455a32a3db6d5a9262a4113c92f Mon Sep 17 00:00:00 2001 From: Brian Frost Date: Tue, 9 Apr 2024 09:28:02 -0400 Subject: [PATCH] ACAS-762 pin npm to get fix for too many connections issue https://github.com/npm/cli/issues/7072 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3057a72ed..3aa4e7c3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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