One of the biggest obstacles to my team adopting yarn was putting together a docker image that included yarn. After doing a bunch of work i’ve determined that this very easy but non-obvious. It doesn’t help that search results return a number of individual contributions that are flawed in one way or another. Many use the npm install method which is not recommended and others use
curl -o- -L https://yarnpkg.com/install.sh | bash which installs only for the current user.
Here’s my take – https://hub.docker.com/r/mattkime/node-yarn/
Let me know if there’s anything i can do to help move this forward.