Public | Automated Build

Last pushed: 5 months ago
Short Description
[DEPRECATED] Not being actively maintained - see canonicalwebteam/node instead
Full Description

[DEPRECATED] Not being actively maintained - see canonicalwebteam/node instead

A light-weight docker image for running Yarn (https://yarnpkg.com/).

It will also attempt to install bower dependencies if it finds a bower.json.

Usage

docker run  \
  --user $(id -u):$(id -g)                       `# Use the current user inside container`  \
  --volume `pwd`:`pwd`                           `# Mirror current directory inside container`  \
  --volume yarn-cache:/home/shared/.cache/       `# Add a persistent volume for the yarn cache`  \
  --workdir `pwd`                                `# Set current directory to the image's work directory`  \
  --tty                                          `# Attach a pseudo-terminal`  \
  --interactive                                  `# Add interactive capabilities to terminal prompt`  \
  yarn                                           `# Run the "yarn" docker image`
Docker Pull Command
Owner
canonicalwebteam
Source Repository

Comments (0)