Dockerfiles that use yarn build without issue on a Mac OS 10.11 with docker 1.12.1 and Fedora 24 with docker 1.10.3 are failing to build in CircleCI. There’s an issue open against yarn for this ( https://github.com/yarnpkg/yarn/issues/918 ), but siunce the issue doesn’t happen in other environments, I believe it’s an issue with CircleCI.
We are also experiencing this issue. Blocking the use of Yarn on CircleCI. Perhaps an issue with the Docker version being so dated…?
Builds are fine on osx with:
Docker version 1.12.2, build bb80604, experimental
Installing Yarn via:
curl -o- -L https://yarnpkg.com/install.sh | bash &&
We are also experiencing this.
Even with docker image built on docker hub that contains a line in Dockerfile like
npm install -g yarn - that layer is rendered un-pullable from within CircleCI. A pull on that specific image will result in error saying that tag was not found.
Also, building docker image on CircleCI fails with
npm install yarn && ./node_modules/.bin/yarn as well.
Any progress on this?
Off-topic: You mention running macOS together with Docker on CircleCI, how did you get this to work? When we include the docker service inside a mac build it just errors for us!
What I was referring to is all inside of Docker. I’m running the same Dockerfile on my Mac and on CircleCI, but it sounds like you’re trying to do something else.
@dave-nm Are you still running into this issue on our latest build image, which includes Yarn pre-installed?
The issue was resolved by yarn a while back (see the github issue in the original post) and has been working since.