Skip to content

Commit c49cef4

Browse files
yippirayeouchien
authored andcommitted
chore: add yarn
1 parent dc9f9b0 commit c49cef4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

runner/Dockerfile

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

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

0 commit comments

Comments
 (0)