You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This also installs Yarn. Which is afaik is not official. So why is this image considered slim when it includes additional packages which aren't needed such as Yarn? Shouldn't this be included in it's own image in that case (or in the default node image).
Taken from your own documentation on the Docker hub page:
node:-slim
This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run node. Unless you are working in an environment where only the node image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
This contradicts the updated Dockerfile with Yarn.
Wondering what your guys thoughts are on the above points ta!
Activity
SimenB commentedon Jun 3, 2019
The solution to this is #808. Yarn is used by ~30% of users of the npm registry, so it should be included wherever
npmis included