Sanity tests perf improvements (#296248)

This commit is contained in:
Dmitriy Vasyura
2026-02-22 08:55:53 -08:00
committed by GitHub
parent 939e20b2a0
commit ee401a1256
16 changed files with 238 additions and 254 deletions

View File

@@ -6,9 +6,15 @@ FROM ${MIRROR}${BASE_IMAGE}
RUN apt-get update && \
apt-get install -y curl
# Node.js 22
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y nodejs
# Node.js (arm32 uses official tarball since NodeSource dropped armhf support)
ARG TARGETARCH
RUN if [ "$TARGETARCH" = "arm" ]; then \
apt-get install -y libatomic1 && \
curl -fsSL https://nodejs.org/dist/v20.18.3/node-v20.18.3-linux-armv7l.tar.gz | tar -xz -C /usr/local --strip-components=1; \
else \
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y nodejs; \
fi
# Chromium
RUN apt-get install -y chromium