mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
Sanity tests perf improvements (#296248)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user