Skip to content

Commit

Permalink
feat(actions-runner): Use nvm to install node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
bo0tzz authored Jan 10, 2024
1 parent e98ac08 commit f4d4dd1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions containers/actions-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ RUN \
RUN curl -SL https://github.com/docker/compose/releases/download/v2.23.3/docker-compose-linux-x86_64 -o /usr/local/lib/docker/cli-plugins/docker-compose \
&& chmod +x /usr/local/lib/docker/cli-plugins/docker-compose

RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash \
&& nvm install v20.10.0 \
&& nvm use v20.10.0

USER runner

RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

0 comments on commit f4d4dd1

Please sign in to comment.