Skip to content

Commit

Permalink
benchmarks: add node 12, 14, 20, upgrade node 14, 16 (#3388)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlhunter authored and Stephen Belanger committed Jul 13, 2023
1 parent f3dba64 commit 7e41dca
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions benchmark/sirun/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# The version of this file in master is used across all PRs regardless of upstream branch
FROM --platform=linux/amd64 ubuntu:22.04

RUN apt-get update && apt-get install --no-install-recommends -y \
Expand Down Expand Up @@ -25,11 +26,14 @@ RUN wget -O sirun.tar.gz https://github.com/DataDog/sirun/releases/download/v0.1
&& rm sirun.tar.gz \
&& mv sirun /usr/bin/sirun

# This list of installed Node.js versions should include all versions used by any active release line
RUN mkdir -p /usr/local/nvm \
&& wget -q -O - https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash \
&& . $NVM_DIR/nvm.sh \
&& nvm install --no-progress 14.20.1 \
&& nvm install --no-progress 16.17.1 \
&& nvm install --no-progress 18.10.0 \
&& nvm install --no-progress 12.22.12 \
&& nvm install --no-progress 14.21.3 \
&& nvm install --no-progress 16.20.1 \
&& nvm install --no-progress 18.16.1 \
&& nvm install --no-progress 20.4.0 \
&& nvm alias default 18 \
&& nvm use 18

0 comments on commit 7e41dca

Please sign in to comment.