From 76360c4549717feb14555b3a630bf79de3b12510 Mon Sep 17 00:00:00 2001 From: Yuta Toyokawa Date: Mon, 18 Jun 2018 10:34:52 +0900 Subject: [PATCH] =?UTF-8?q?yarn=E3=81=AE=E3=82=BB=E3=83=83=E3=83=88?= =?UTF-8?q?=E3=82=A2=E3=83=83=E3=83=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index e800f4f..1f02321 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,12 @@ RUN set -ex \ && apt-get purge -y nodejs \ && rm -rf /var/lib/apt/lists/* +# yarn install +# 参考: https://yarnpkg.com/lang/ja/docs/install/#debian-stable +RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - +RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list +RUN apt-get update && apt-get install -y yarn --no-install-recommends + RUN set -ex \ && apt-get update \ && apt-get install -y \