Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 11f1b6e

Browse files
committed
Install yarn
1 parent 44b3c64 commit 11f1b6e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

containers/ruby-2-rails-5/.devcontainer/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ RUN apt-get update \
3434
#
3535
# Install nodejs
3636
&& apt-get install -y nodejs \
37+
#
38+
# Install yarn
39+
&& apt-get install -y curl apt-transport-https lsb-release \
40+
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \
41+
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
42+
&& apt-get update \
43+
&& apt-get -y install --no-install-recommends yarn \
3744
#
3845
# Install debug tools
3946
&& gem install \

0 commit comments

Comments
 (0)