{"action":"created","issue":{"url":"https://api.github.com/repos/codeclimate-community/codeclimate-golint/issues/4","labels_url":"https://api.github.com/repos/codeclimate-community/codeclimate-golint/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/codeclimate-community/codeclimate-golint/issues/4/comments","events_url":"https://api.github.com/repos/codeclimate-community/codeclimate-golint/issues/4/events","html_url":"https://github.com/codeclimate-community/codeclimate-golint/pull/4","id":110522013,"number":4,"title":"update circle and fix position key","user":{"login":"ABaldwinHunter","id":8718443,"avatar_url":"https://avatars.githubusercontent.com/u/8718443?v=3","gravatar_id":"","url":"https://api.github.com/users/ABaldwinHunter","html_url":"https://github.com/ABaldwinHunter","followers_url":"https://api.github.com/users/ABaldwinHunter/followers","following_url":"https://api.github.com/users/ABaldwinHunter/following{/other_user}","gists_url":"https://api.github.com/users/ABaldwinHunter/gists{/gist_id}","starred_url":"https://api.github.com/users/ABaldwinHunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ABaldwinHunter/subscriptions","organizations_url":"https://api.github.com/users/ABaldwinHunter/orgs","repos_url":"https://api.github.com/users/ABaldwinHunter/repos","events_url":"https://api.github.com/users/ABaldwinHunter/events{/privacy}","received_events_url":"https://api.github.com/users/ABaldwinHunter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-08T19:11:46Z","updated_at":"2015-10-12T21:01:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/codeclimate-community/codeclimate-golint/pulls/4","html_url":"https://github.com/codeclimate-community/codeclimate-golint/pull/4","diff_url":"https://github.com/codeclimate-community/codeclimate-golint/pull/4.diff","patch_url":"https://github.com/codeclimate-community/codeclimate-golint/pull/4.patch"},"body":"Update `circle.yml` so that forked PRs can pass, following example in [codeclimate-fixme]().\r\n\r\nOriginal goal was to be able to have CI build pass on [this PR](https://github.com/codeclimate-community/codeclimate-golint/pull/3/files). The CI build - in a catch 22 of sorts - doesn't pass without the fix in that PR though, so I've added it here as well.\r\n\r\n@codeclimate/review @jacobi007 "},"comment":{"url":"https://api.github.com/repos/codeclimate-community/codeclimate-golint/issues/comments/147521141","html_url":"https://github.com/codeclimate-community/codeclimate-golint/pull/4#issuecomment-147521141","issue_url":"https://api.github.com/repos/codeclimate-community/codeclimate-golint/issues/4","id":147521141,"user":{"login":"wfleming","id":188402,"avatar_url":"https://avatars.githubusercontent.com/u/188402?v=3","gravatar_id":"","url":"https://api.github.com/users/wfleming","html_url":"https://github.com/wfleming","followers_url":"https://api.github.com/users/wfleming/followers","following_url":"https://api.github.com/users/wfleming/following{/other_user}","gists_url":"https://api.github.com/users/wfleming/gists{/gist_id}","starred_url":"https://api.github.com/users/wfleming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wfleming/subscriptions","organizations_url":"https://api.github.com/users/wfleming/orgs","repos_url":"https://api.github.com/users/wfleming/repos","events_url":"https://api.github.com/users/wfleming/events{/privacy}","received_events_url":"https://api.github.com/users/wfleming/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T21:01:57Z","updated_at":"2015-10-12T21:01:57Z","body":"Should be noted that as-is this is a bit incomplete since the actual compiled `bin` has not been updated, and right now this project isn't configured to actually build itself on CI, just release. Same problem as I'm attempting to fix with https://github.com/codeclimate-community/codeclimate-govet/pull/6. I think we should use a similar approach here, but in this case we can make the `Dockerfile` even simpler! I think this would work:\r\n\r\n```\r\nFROM scratch\r\n\r\nADD build/codeclimate-golint /usr/src/app/\r\n\r\nRUN adduser -u 9000 -D app\r\nUSER app\r\n\r\nCMD [\"/usr/src/app/codeclimate-govet\"]\r\n```"}}