Skip to content

Commit

Permalink
chore(apps/actions-runner-controller): preinstall wrangler
Browse files Browse the repository at this point in the history
  • Loading branch information
invakid404 committed Sep 15, 2023
1 parent 225f225 commit dead902
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/actions-runner-controller/runners/invablog/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM summerwind/actions-runner:ubuntu-22.04

RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list

RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list && \
sudo apt update && sudo apt install --no-install-recommends yarn
sudo apt update && sudo apt install -y yarn nodejs

RUN sudo npm install -g wrangler

0 comments on commit dead902

Please sign in to comment.