-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When running yarn inside of a Dockerfile, it is
If the current behavior is a bug, please provide the steps to reproduce.
Create a Dockerfile along these lines
FROM node:4.5.0
WORKDIR /opt/my-app
RUN npm install -g yarn
ADD package.json /opt/my-app/
ADD yarn.lock /opt/my-app/
RUN yarn
This spits out an error:
error https://registry.yarnpkg.com/forever/-/forever-0.15.2.tgz: EINVAL: invalid argument, chown '/root/.yarn-cache/npm-forever-0.15.2/package.json'
at Error (native)
What is the expected behavior?
yarn
installing inside of the Docker image
Please mention your node.js, yarn and operating system version.
Node 4.5, yarn 0.15.1, Ubuntu 12.04 (Precise) on Circle CI
tutuca and k2levin