{"action":"created","issue":{"url":"https://api.github.com/repos/creationix/nvm/issues/1102","repository_url":"https://api.github.com/repos/creationix/nvm","labels_url":"https://api.github.com/repos/creationix/nvm/issues/1102/labels{/name}","comments_url":"https://api.github.com/repos/creationix/nvm/issues/1102/comments","events_url":"https://api.github.com/repos/creationix/nvm/issues/1102/events","html_url":"https://github.com/creationix/nvm/issues/1102","id":156694085,"number":1102,"title":"Installing on Alpine Linux","user":{"login":"neilstuartcraig","id":320215,"avatar_url":"https://avatars.githubusercontent.com/u/320215?v=3","gravatar_id":"","url":"https://api.github.com/users/neilstuartcraig","html_url":"https://github.com/neilstuartcraig","followers_url":"https://api.github.com/users/neilstuartcraig/followers","following_url":"https://api.github.com/users/neilstuartcraig/following{/other_user}","gists_url":"https://api.github.com/users/neilstuartcraig/gists{/gist_id}","starred_url":"https://api.github.com/users/neilstuartcraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neilstuartcraig/subscriptions","organizations_url":"https://api.github.com/users/neilstuartcraig/orgs","repos_url":"https://api.github.com/users/neilstuartcraig/repos","events_url":"https://api.github.com/users/neilstuartcraig/events{/privacy}","received_events_url":"https://api.github.com/users/neilstuartcraig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-25T08:43:36Z","updated_at":"2016-05-25T08:46:55Z","closed_at":null,"body":"Hi\r\n\r\nFirst off, thanks for NVM - I use it frequently and see it being used everywhere and it's been great. To that end, I'd really like to use NVM on my current project which is basically a CI running via Docker - i'd like to be able to use Alpine Linux as the base image.\r\n\r\nI can get NVM to install on Alpine by doing:\r\n\r\n```\r\napk add bash\r\nwget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | bash\r\n```\r\n\r\nWhich is great. But then the resulting Node binary won't run and I believe from doing a little reading that this is likely to be because Alpine needs musl rather than GCC built binaries. \r\n\r\nI tried using the `-s` flag in `nvm install` but that tells me it is not usable for Node > 1.\r\n\r\nI see Alpine and other busybox-based distros gaining a lot of traction as they're so fast, perfect for containerised use - hence my interest.\r\n\r\nSo my question is...Do you think the above is correct and if so (or if similar), can I offer help in perhaps providing Alpine-compatible binaries? I can perhaps script a compilation of all the existing versions of Node source - though it'd take some time to run - then upload them somewhere e.g. S3.\r\n\r\nIf the above is of any interest, please let me know as I am keen to help wherever necessary.\r\n\r\nCheers\r\nNeil"},"comment":{"url":"https://api.github.com/repos/creationix/nvm/issues/comments/221511220","html_url":"https://github.com/creationix/nvm/issues/1102#issuecomment-221511220","issue_url":"https://api.github.com/repos/creationix/nvm/issues/1102","id":221511220,"user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T08:46:55Z","updated_at":"2016-05-25T08:46:55Z","body":"I do think the above is correct.\r\n\r\nTo provide Alpine-compatible binaries, node *itself* would have to provide them - `nvm` simply installs whatever is available on nodejs.org. I think it would be great to add alpine binaries to the list of build targets that node core produces - filing an issue on https://github.com/nodejs/node would be the right place for that."}}
{"actor":{"display_login":"ljharb"}}