FROM node:6.9.0 MAINTAINER shan.yy
RUN apt-get update && apt-get install -y curl apt-transport-https &&
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&
apt-get update && apt-get install -y yarn
RUN yarn config set registry https://registry.npm.taobao.org
RUN
rm /etc/localtime &&
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
Content type
Image
Digest
Size
264.2 MB
Last updated
about 9 years ago
docker pull shanyy/node-stable-yarn