[Feature Request] Add support to install dependencies with Yarn
Closed this issue · 1 comments
Hi, It would be great if the dockerfile image of meteor-base would bring installed Yarn in order to install dependencies with it. This is, because some developers (like me) we use yarn as package manager because it's faster than npm. I noticed that in these scripts use npm command:
build-app-npm-dependencies.sh
build-meteor-npm-dependencies.sh
So, I was looking for and I found out that it is possible to run meteor yarn install on linux systems.
So, I imagine configuring this part in the dockerfile as follow:
ENV PACKAGE_MANAGER yarn //by default is npm
The base image is simply downloaded from the Docker hub, so the speed of it getting built is irrelevant. In your app's image, you're free to add yarn just as you can add any other dependencies. It's not something I want to add to my example image because then the test suite would take twice as long, to test both npm and yarn.