{"action":"created","issue":{"url":"https://api.github.com/repos/mini-containers/base/issues/5","labels_url":"https://api.github.com/repos/mini-containers/base/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/mini-containers/base/issues/5/comments","events_url":"https://api.github.com/repos/mini-containers/base/issues/5/events","html_url":"https://github.com/mini-containers/base/issues/5","id":61204171,"number":5,"title":"Problem executing binaries installed using nvm (Node Version Manager)","user":{"login":"kriswill","id":115474,"avatar_url":"https://avatars.githubusercontent.com/u/115474?v=3","gravatar_id":"","url":"https://api.github.com/users/kriswill","html_url":"https://github.com/kriswill","followers_url":"https://api.github.com/users/kriswill/followers","following_url":"https://api.github.com/users/kriswill/following{/other_user}","gists_url":"https://api.github.com/users/kriswill/gists{/gist_id}","starred_url":"https://api.github.com/users/kriswill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriswill/subscriptions","organizations_url":"https://api.github.com/users/kriswill/orgs","repos_url":"https://api.github.com/users/kriswill/repos","events_url":"https://api.github.com/users/kriswill/events{/privacy}","received_events_url":"https://api.github.com/users/kriswill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-13T19:44:30Z","updated_at":"2015-03-24T15:13:51Z","closed_at":"2015-03-24T15:13:51Z","body":"Hi, I'm trying to use `mini/base` to create a minimal-nvm container.  see this Dockerfile:\r\n```sh\r\nFROM mini/base\r\n\r\nRUN apk-install \\\r\n      bash \\\r\n      tar \\\r\n      curl \\\r\n      git \\\r\n      c-ares \\\r\n      libgcc \\\r\n      libstdc++ \\\r\n      libuv\r\n\r\nRUN rm /bin/sh && ln -s /bin/bash /bin/sh && \\\r\n    touch ~/.bashrc\r\n\r\nENV NODE_VERSION iojs\r\n\r\nRUN NVM_VERSION=\"$(curl -s -L http://latest.nvm.sh -o /dev/null -D - | grep -Ei '^Location: .*tag/v[0-9.]+' | grep -oEi 'v[0-9.]+')\" && \\\r\n    echo $NVM_VERSION && \\\r\n    curl https://raw.githubusercontent.com/creationix/nvm/$NVM_VERSION/install.sh | sh && \\\r\n    source ~/.nvm/nvm.sh && \\\r\n    nvm install $NODE_VERSION\r\n```\r\nwhen running:\r\n```sh\r\n→ docker run --rm -it mini-nvm bash\r\n\r\nbash-4.3# nvm run iojs -p process.versions\r\nRunning io.js v1.5.1\r\nbash: /root/.nvm/versions/io.js/v1.5.1/bin/iojs: No such file or directory\r\n\r\nbash-4.3# ls -la /root/.nvm/versions/io.js/v1.5.1/bin/iojs\r\n-rwxrwxr-x    1 500      500       16545561 Mar  9 18:14 /root/.nvm/versions/io.js/v1.5.1/bin/iojs\r\nkriswill 12 hours ago  \r\n```\r\nAny advice is appreciated!"},"comment":{"url":"https://api.github.com/repos/mini-containers/base/issues/comments/85545873","html_url":"https://github.com/mini-containers/base/issues/5#issuecomment-85545873","issue_url":"https://api.github.com/repos/mini-containers/base/issues/5","id":85545873,"user":{"login":"luislavena","id":4182,"avatar_url":"https://avatars.githubusercontent.com/u/4182?v=3","gravatar_id":"","url":"https://api.github.com/users/luislavena","html_url":"https://github.com/luislavena","followers_url":"https://api.github.com/users/luislavena/followers","following_url":"https://api.github.com/users/luislavena/following{/other_user}","gists_url":"https://api.github.com/users/luislavena/gists{/gist_id}","starred_url":"https://api.github.com/users/luislavena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luislavena/subscriptions","organizations_url":"https://api.github.com/users/luislavena/orgs","repos_url":"https://api.github.com/users/luislavena/repos","events_url":"https://api.github.com/users/luislavena/events{/privacy}","received_events_url":"https://api.github.com/users/luislavena/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T15:13:51Z","updated_at":"2015-03-24T15:13:51Z","body":"@pikeas thank you for the info.\r\n\r\n@kriswill considering there is a `APKBUILD` for iojs under testing:\r\n\r\nhttp://git.alpinelinux.org/cgit/aports/tree/testing/iojs/APKBUILD?id=c8a18b22ab119ae31ac78340023a8c8ac380c4bb\r\n\r\nI'm going to close this out. You might want to look at [docker-alpine-abuild](https://github.com/andyshinn/docker-alpine-abuild) which will allow you to package any APKBUILD package using Docker.\r\n\r\nHope that helps.\r\n"}}