{"action":"created","issue":{"url":"https://api.github.com/repos/nylas/N1/issues/1342","repository_url":"https://api.github.com/repos/nylas/N1","labels_url":"https://api.github.com/repos/nylas/N1/issues/1342/labels{/name}","comments_url":"https://api.github.com/repos/nylas/N1/issues/1342/comments","events_url":"https://api.github.com/repos/nylas/N1/issues/1342/events","html_url":"https://github.com/nylas/N1/pull/1342","id":133853461,"number":1342,"title":"Linux 32-bit Docker build","user":{"login":"mbilker","id":1266541,"avatar_url":"https://avatars.githubusercontent.com/u/1266541?v=3","gravatar_id":"","url":"https://api.github.com/users/mbilker","html_url":"https://github.com/mbilker","followers_url":"https://api.github.com/users/mbilker/followers","following_url":"https://api.github.com/users/mbilker/following{/other_user}","gists_url":"https://api.github.com/users/mbilker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbilker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbilker/subscriptions","organizations_url":"https://api.github.com/users/mbilker/orgs","repos_url":"https://api.github.com/users/mbilker/repos","events_url":"https://api.github.com/users/mbilker/events{/privacy}","received_events_url":"https://api.github.com/users/mbilker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nylas/N1/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-16T00:56:42Z","updated_at":"2016-02-16T02:11:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nylas/N1/pulls/1342","html_url":"https://github.com/nylas/N1/pull/1342","diff_url":"https://github.com/nylas/N1/pull/1342.diff","patch_url":"https://github.com/nylas/N1/pull/1342.patch"},"body":"In response to #254 and #139, I developed a Docker build for Linux that uses a 32-bit Docker image and builds N1. I used Atom's Fedora Docker buildfile as a template and went from there.\r\n\r\nThis PR adds the ability to use the Docker build, but needs complete testing for the `publish-nylas-build` task.\r\n\r\nI was able to get the Docker to build the `deb` and `rpm` files like the regular CI build process does."},"comment":{"url":"https://api.github.com/repos/nylas/N1/issues/comments/184475899","html_url":"https://github.com/nylas/N1/pull/1342#issuecomment-184475899","issue_url":"https://api.github.com/repos/nylas/N1/issues/1342","id":184475899,"user":{"login":"mbilker","id":1266541,"avatar_url":"https://avatars.githubusercontent.com/u/1266541?v=3","gravatar_id":"","url":"https://api.github.com/users/mbilker","html_url":"https://github.com/mbilker","followers_url":"https://api.github.com/users/mbilker/followers","following_url":"https://api.github.com/users/mbilker/following{/other_user}","gists_url":"https://api.github.com/users/mbilker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbilker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbilker/subscriptions","organizations_url":"https://api.github.com/users/mbilker/orgs","repos_url":"https://api.github.com/users/mbilker/repos","events_url":"https://api.github.com/users/mbilker/events{/privacy}","received_events_url":"https://api.github.com/users/mbilker/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T02:11:29Z","updated_at":"2016-02-16T02:11:29Z","body":"I am having weird issues with `npm` and errors like:\r\n```\r\nNode: v4.3.0\r\nnpm: v2.14.12\r\n\r\n---> Installing N1 build tools\r\n     This goes inside the `build` folder and runs `npm install`\r\n     It will use the system `npm` to bootstrap our own N1 npm.\r\n     Our build tools (like Grunt) need to be compiled against Node via `npm`.\r\n     Everything else needs to be compiled against Chromium with `apm`.\r\n\r\n     $ npm --userconfig=\"/n1/.npmrc\" install --loglevel error --cwd=/n1/build --ignoreStdout=true \r\n\r\nnpm ERR! Linux 4.4.1-2-ARCH\r\nnpm ERR! argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"--userconfig=/n1/.npmrc\" \"install\" \"--loglevel\" \"error\"\r\nnpm ERR! node v4.3.0\r\nnpm ERR! npm  v2.14.12\r\nnpm ERR! path /root/.npm/registry.npmjs.org/async/.cache.json.e7e4f2eae65ea11ccc8212cc167788a3\r\nnpm ERR! code ENOENT\r\nnpm ERR! errno -2\r\nnpm ERR! syscall lstat\r\n\r\nnpm ERR! enoent ENOENT: no such file or directory, lstat '/root/.npm/registry.npmjs.org/async/.cache.json.e7e4f2eae65ea11ccc8212cc167788a3'\r\nnpm ERR! enoent This is most likely not a problem with npm itself\r\nnpm ERR! enoent and is related to npm not being able to find a file.\r\nnpm ERR! enoent \r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /n1/build/npm-debug.log\r\n```"}}