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

Change Yarn installation method to use tarball #403

Merged
merged 2 commits into from
May 16, 2017

Conversation

pesho
Copy link
Contributor

@pesho pesho commented May 16, 2017

Resolves #401

The provided Yarn tarball is now used, instead of the bare webpacked .js file. The tarball is unpacked in /opt/yarn and the necessary symlinks are created in /usr/local/bin. Installation procedure is the same across all image variants (including Alpine).

Users wishing to upgrade Yarn themselves can easily achieve that by deleting the contents of /opt/yarn and unpacking a more recent tarball there.

The size increase is negligible (less than 0.1 MB).

Daniel15

This comment was marked as off-topic.

@Daniel15
Copy link

This looks pretty good to me!

Starefossen

This comment was marked as off-topic.

@pesho pesho added the yarn label May 16, 2017
@chorrell
Copy link
Contributor

LGTM. Switching to the tarball and using it consistently makes sense.

chorrell

This comment was marked as off-topic.

@pesho
Copy link
Contributor Author

pesho commented May 16, 2017

Does anyone wish to propose an alternative PR, e.g. one which uses DEB when possible (ref #351)? Or should we go ahead and merge this?

@chorrell
Copy link
Contributor

Let's go ahead with this. If at some point there are official Alpine packages, then I think that would be a good time to revisit switching to using packages to install node.

@pesho pesho merged commit 955f24f into nodejs:master May 16, 2017
@pesho
Copy link
Contributor Author

pesho commented May 16, 2017

Merged. Thanks everyone.

ledermann added a commit to ledermann/docker-base that referenced this pull request May 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants