{"action":"created","issue":{"url":"https://api.github.com/repos/edsu/unshrtn/issues/4","labels_url":"https://api.github.com/repos/edsu/unshrtn/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/edsu/unshrtn/issues/4/comments","events_url":"https://api.github.com/repos/edsu/unshrtn/issues/4/events","html_url":"https://github.com/edsu/unshrtn/issues/4","id":56702514,"number":4,"title":"Docker fails to build at npm install","user":{"login":"ruebot","id":218561,"avatar_url":"https://avatars.githubusercontent.com/u/218561?v=3","gravatar_id":"","url":"https://api.github.com/users/ruebot","html_url":"https://github.com/ruebot","followers_url":"https://api.github.com/users/ruebot/followers","following_url":"https://api.github.com/users/ruebot/following{/other_user}","gists_url":"https://api.github.com/users/ruebot/gists{/gist_id}","starred_url":"https://api.github.com/users/ruebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruebot/subscriptions","organizations_url":"https://api.github.com/users/ruebot/orgs","repos_url":"https://api.github.com/users/ruebot/repos","events_url":"https://api.github.com/users/ruebot/events{/privacy}","received_events_url":"https://api.github.com/users/ruebot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"eikeon","id":206171,"avatar_url":"https://avatars.githubusercontent.com/u/206171?v=3","gravatar_id":"","url":"https://api.github.com/users/eikeon","html_url":"https://github.com/eikeon","followers_url":"https://api.github.com/users/eikeon/followers","following_url":"https://api.github.com/users/eikeon/following{/other_user}","gists_url":"https://api.github.com/users/eikeon/gists{/gist_id}","starred_url":"https://api.github.com/users/eikeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eikeon/subscriptions","organizations_url":"https://api.github.com/users/eikeon/orgs","repos_url":"https://api.github.com/users/eikeon/repos","events_url":"https://api.github.com/users/eikeon/events{/privacy}","received_events_url":"https://api.github.com/users/eikeon/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-02-05T17:35:53Z","updated_at":"2015-02-05T18:05:26Z","closed_at":null,"body":"```\r\n$ sudo docker build --tag unshrtn:dev .                                                          \r\n[sudo] password for nruest: \r\nSending build context to Docker daemon 15.83 MB\r\nSending build context to Docker daemon \r\nStep 0 : FROM node:latest\r\n ---> 61afc26cd88e\r\nStep 1 : MAINTAINER Daniel Krech <eikeon@eikeon.com>\r\n ---> Using cache\r\n ---> b85d237d24d8\r\nStep 2 : ENV DEBIAN_FRONTEND noninteractive\r\n ---> Using cache\r\n ---> 6d9081c7cfec\r\nStep 3 : RUN apt-get -qq update && apt-get -qqy install git && apt-get clean\r\n ---> Using cache\r\n ---> 8b0d3a4d5817\r\nStep 4 : RUN npm install -g coffee-script mocha && npm cache clear\r\n ---> Using cache\r\n ---> a4c17f9bb957\r\nStep 5 : RUN adduser --system --disabled-password --shell /bin/bash --group unshrtn --uid 1000\r\n ---> Using cache\r\n ---> db897f298c5b\r\nStep 6 : RUN install -d /opt/unshrtn --owner=unshrtn --group=unshrtn\r\n ---> Using cache\r\n ---> 6c8294a53d24\r\nStep 7 : WORKDIR /opt/unshrtn\r\n ---> Using cache\r\n ---> b2541b84283b\r\nStep 8 : USER unshrtn\r\n ---> Using cache\r\n ---> ec6c13f8c001\r\nStep 9 : COPY package.json /opt/unshrtn/\r\n ---> Using cache\r\n ---> 88b8698c1bb8\r\nStep 10 : RUN npm install\r\n ---> Running in 8170f1237ac1\r\nnpm WARN package.json unshrtn@0.0.1 No README data\r\nnpm ERR! Linux 3.13.0-45-generic\r\nnpm ERR! argv \"node\" \"/usr/local/bin/npm\" \"install\"\r\nnpm ERR! node v0.10.36\r\nnpm ERR! npm  v2.4.1\r\nnpm ERR! path /.npm\r\nnpm ERR! code EACCES\r\nnpm ERR! errno 3\r\n\r\nnpm ERR! Error: EACCES, mkdir '/.npm'\r\nnpm ERR!  { [Error: EACCES, mkdir '/.npm'] errno: 3, code: 'EACCES', path: '/.npm', parent: 'unshrtn' }\r\nnpm ERR! \r\nnpm ERR! Please try running this command again as root/Administrator.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /opt/unshrtn/npm-debug.log\r\n2015/02/04 10:48:08 The command [/bin/sh -c npm install] returned a non-zero code: 3\r\n```"},"comment":{"url":"https://api.github.com/repos/edsu/unshrtn/issues/comments/73095138","html_url":"https://github.com/edsu/unshrtn/issues/4#issuecomment-73095138","issue_url":"https://api.github.com/repos/edsu/unshrtn/issues/4","id":73095138,"user":{"login":"ruebot","id":218561,"avatar_url":"https://avatars.githubusercontent.com/u/218561?v=3","gravatar_id":"","url":"https://api.github.com/users/ruebot","html_url":"https://github.com/ruebot","followers_url":"https://api.github.com/users/ruebot/followers","following_url":"https://api.github.com/users/ruebot/following{/other_user}","gists_url":"https://api.github.com/users/ruebot/gists{/gist_id}","starred_url":"https://api.github.com/users/ruebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruebot/subscriptions","organizations_url":"https://api.github.com/users/ruebot/orgs","repos_url":"https://api.github.com/users/ruebot/repos","events_url":"https://api.github.com/users/ruebot/events{/privacy}","received_events_url":"https://api.github.com/users/ruebot/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T18:05:25Z","updated_at":"2015-02-05T18:05:25Z","body":"```\r\n$ sudo docker version\r\nClient version: 1.0.1\r\nClient API version: 1.12\r\nGo version (client): go1.2.1\r\nGit commit (client): 990021a\r\nServer version: 1.0.1\r\nServer API version: 1.12\r\nGo version (server): go1.2.1\r\nGit commit (server): 990021a\r\n```"}}