{"action":"created","issue":{"url":"https://api.github.com/repos/mitodl/lore/issues/563","labels_url":"https://api.github.com/repos/mitodl/lore/issues/563/labels{/name}","comments_url":"https://api.github.com/repos/mitodl/lore/issues/563/comments","events_url":"https://api.github.com/repos/mitodl/lore/issues/563/events","html_url":"https://github.com/mitodl/lore/pull/563","id":102818489,"number":563,"title":"Optimized Dockerfile to reduce build times","user":{"login":"carsongee","id":596029,"avatar_url":"https://avatars.githubusercontent.com/u/596029?v=3","gravatar_id":"","url":"https://api.github.com/users/carsongee","html_url":"https://github.com/carsongee","followers_url":"https://api.github.com/users/carsongee/followers","following_url":"https://api.github.com/users/carsongee/following{/other_user}","gists_url":"https://api.github.com/users/carsongee/gists{/gist_id}","starred_url":"https://api.github.com/users/carsongee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carsongee/subscriptions","organizations_url":"https://api.github.com/users/carsongee/orgs","repos_url":"https://api.github.com/users/carsongee/repos","events_url":"https://api.github.com/users/carsongee/events{/privacy}","received_events_url":"https://api.github.com/users/carsongee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitodl/lore/labels/Needs%20Review","name":"Needs Review","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-24T15:23:23Z","updated_at":"2015-09-01T14:58:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mitodl/lore/pulls/563","html_url":"https://github.com/mitodl/lore/pull/563","diff_url":"https://github.com/mitodl/lore/pull/563.diff","patch_url":"https://github.com/mitodl/lore/pull/563.patch"},"body":"- Folded several commands into single RUNs\r\n- Switched to COPY from ADD\r\n- Moved COPY's that were grouped together to only get added at the last\r\n  possible minute\r\n- New flow of system -> python -> node -> source\r\n- Copied .gitignore into .dockerignore"},"comment":{"url":"https://api.github.com/repos/mitodl/lore/issues/comments/136752021","html_url":"https://github.com/mitodl/lore/pull/563#issuecomment-136752021","issue_url":"https://api.github.com/repos/mitodl/lore/issues/563","id":136752021,"user":{"login":"noisecapella","id":863262,"avatar_url":"https://avatars.githubusercontent.com/u/863262?v=3","gravatar_id":"","url":"https://api.github.com/users/noisecapella","html_url":"https://github.com/noisecapella","followers_url":"https://api.github.com/users/noisecapella/followers","following_url":"https://api.github.com/users/noisecapella/following{/other_user}","gists_url":"https://api.github.com/users/noisecapella/gists{/gist_id}","starred_url":"https://api.github.com/users/noisecapella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisecapella/subscriptions","organizations_url":"https://api.github.com/users/noisecapella/orgs","repos_url":"https://api.github.com/users/noisecapella/repos","events_url":"https://api.github.com/users/noisecapella/events{/privacy}","received_events_url":"https://api.github.com/users/noisecapella/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T14:58:22Z","updated_at":"2015-09-01T14:58:22Z","body":"On my laptop the old build was 5m39 and the new build was 5m35. But some of the changes like using COPY, .dockerignore, and folding commands together are probably worth doing anyway. I'll try out the new build and merge if it looks good"}}