From 422fd11f4dbd67718578234f4c4511cb2f34de43 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 17 Dec 2024 18:50:04 -0800 Subject: [PATCH] feat: Install all npm dependencies in Dockerfile --- benchmark/Dockerfile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/benchmark/Dockerfile b/benchmark/Dockerfile index e593fa9d1..644aae271 100644 --- a/benchmark/Dockerfile +++ b/benchmark/Dockerfile @@ -15,11 +15,20 @@ RUN apt-get update && apt-get install -y \ # Make python3.11 the default python3 RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 -# Install Node.js and Jest +# Install Node.js and dependencies RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \ apt-get install -y nodejs && \ rm -rf /var/lib/apt/lists/* && \ - npm install -g jest + npm install -g \ + jest \ + @babel/core@7.25.2 \ + @exercism/babel-preset-javascript@0.2.1 \ + @exercism/eslint-config-javascript@0.6.0 \ + @types/jest@29.5.12 \ + @types/node@20.12.12 \ + babel-jest@29.6.4 \ + core-js@3.37.1 \ + eslint@8.49.0 # Install Go RUN curl -OL https://golang.org/dl/go1.21.5.linux-amd64.tar.gz && \