Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discussion] Any thought on simpily yarn install process ? #970

Closed
gengjiawen opened this issue Jan 10, 2019 · 3 comments
Closed

[Discussion] Any thought on simpily yarn install process ? #970

gengjiawen opened this issue Jan 10, 2019 · 3 comments

Comments

@gengjiawen
Copy link
Member

Basically we can just use npm i -g yarn. I think this is more easier, works on every platform.
Thoughts ?

@gengjiawen gengjiawen changed the title [Discussion] Any thought on skimpily yarn install process ? [Discussion] Any thought on simpily yarn install process ? Jan 10, 2019
@gengjiawen
Copy link
Member Author

Even can reduce two docker layer.

@SimenB
Copy link
Member

SimenB commented Jan 10, 2019

Installing yarn with npm is discouraged, see https://yarnpkg.com/lang/en/docs/install/#alternatives-stable

Note: Installation of Yarn via npm is generally not recommended.


Even can reduce two docker layer.

I'd rather use multi stage builds when building, tracked in docker-library/official-images#3383

@SimenB SimenB closed this as completed Jan 10, 2019
@gengjiawen
Copy link
Member Author

thanks for the info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants