Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghostbar/alpine-alt-nodejs
Don't use anymore! Check the migration notice, use alpine-pkg-nodejs repo!
https://github.com/ghostbar/alpine-alt-nodejs
Last synced: 8 days ago
JSON representation
Don't use anymore! Check the migration notice, use alpine-pkg-nodejs repo!
- Host: GitHub
- URL: https://github.com/ghostbar/alpine-alt-nodejs
- Owner: ghostbar
- Created: 2015-10-19T13:13:26.000Z (about 9 years ago)
- Default Branch: gh-pages
- Last Pushed: 2016-02-21T17:50:51.000Z (over 8 years ago)
- Last Synced: 2023-03-10T20:33:34.211Z (over 1 year ago)
- Language: HTML
- Homepage: https://ghostbar.github.io/alpine-alt-nodejs
- Size: 23.9 MB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# alpine-alt-nodejs
## MIGRATION NOTICE
Please, don't use this repo anymore, take any of [this (nodejs)](https://github.com/ghostbar/alpine-pkg-nodejs) or [this (nodejs-lts)](https://github.com/ghostbar/alpine-pkg-nodejs-lts).
I'll leave this here just for anyone using it already, but it won't get updated anymore. Migrating is easy, just change the repository line.
---------
This is an alternative repository for the latest nodejs packages using alpine v3.2
+ **nodejs**: 4.2.3-r0
+ **libuv**: 1.7.5-r0## FAQ
**How do I use it?**
echo 'http://ghostbar.github.io/alpine-alt-nodejs/v3.2/pkgs/v3.2' >> /etc/apk/repositories
apk --update --allow-untrusted add nodejsYou could download the package directly as well with:
curl -O https://ghostbar.github.io/alpine-alt-nodejs/v3.2/pkgs/v3.2/x86_64/nodejs-4.2.1-r0.apk
apk add --allow-untrusted nodejs-4.2.1-r0.apk**Which way is better to download?**
If you use it in the repo-way then you will always download and install the latest nodejs. If you decide to download it with curl then you will just use that version. This is not bad, necessarily, the version will keep existing here, it won't be deleted if there's a new version packaged, but yet, is an older version.
**But I'm a crazy person that wants it's docker image as small as possible, downloading the APKINDEX.tar.gz will bloat it!**
If that's what worries you, then just do a `rm -rf /var/cache/apk/*` and you're done.
**I'm getting a BAD signature**
You probably changed the name of the package, since the signature is linked to the package name.
**I'm getting an UNTRUSTED signature**
You need to use `--allow-untrusted` when launching `apk` commands, including `apk update`.
**Is this really necessary? I could just install the latest nodejs from edge, don't I?**
Yes, you can install it but it won't work. v3.2 and edge are using different gcc (4.9 on v3.2 and 5.2 on edge) and there was a change of ABI which renders the package unusable if linked with an older gcc installation. So when you try to install a package with npm it will give you issues with symbols not found.