Skip to content

Commit 71051b5

Browse files
yippirayeouchien
authored andcommitted
chore: add yarn
1 parent 0672ff0 commit 71051b5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

runner/actions-runner.dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ RUN apt update -y \
4646
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
4747
&& rm -rf /var/lib/apt/lists/*
4848

49+
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - \
50+
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \
51+
&& apt update -y \
52+
&& apt install -y --no-install-recommends yarn
53+
4954
# arch command on OS X reports "i386" for Intel CPUs regardless of bitness
5055
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
5156
&& if [ "$ARCH" = "arm64" ]; then export ARCH=aarch64 ; fi \

0 commit comments

Comments
 (0)