{"action":"created","issue":{"url":"https://api.github.com/repos/reactioncommerce/reaction/issues/1468","repository_url":"https://api.github.com/repos/reactioncommerce/reaction","labels_url":"https://api.github.com/repos/reactioncommerce/reaction/issues/1468/labels{/name}","comments_url":"https://api.github.com/repos/reactioncommerce/reaction/issues/1468/comments","events_url":"https://api.github.com/repos/reactioncommerce/reaction/issues/1468/events","html_url":"https://github.com/reactioncommerce/reaction/pull/1468","id":180957431,"number":1468,"title":"Docker build improvements","user":{"login":"jshimko","id":3077956,"avatar_url":"https://avatars.githubusercontent.com/u/3077956?v=3","gravatar_id":"","url":"https://api.github.com/users/jshimko","html_url":"https://github.com/jshimko","followers_url":"https://api.github.com/users/jshimko/followers","following_url":"https://api.github.com/users/jshimko/following{/other_user}","gists_url":"https://api.github.com/users/jshimko/gists{/gist_id}","starred_url":"https://api.github.com/users/jshimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshimko/subscriptions","organizations_url":"https://api.github.com/users/jshimko/orgs","repos_url":"https://api.github.com/users/jshimko/repos","events_url":"https://api.github.com/users/jshimko/events{/privacy}","received_events_url":"https://api.github.com/users/jshimko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/reactioncommerce/reaction/labels/review","name":"review","color":"d90380"}],"state":"open","locked":false,"assignee":{"login":"zenweasel","id":72819,"avatar_url":"https://avatars.githubusercontent.com/u/72819?v=3","gravatar_id":"","url":"https://api.github.com/users/zenweasel","html_url":"https://github.com/zenweasel","followers_url":"https://api.github.com/users/zenweasel/followers","following_url":"https://api.github.com/users/zenweasel/following{/other_user}","gists_url":"https://api.github.com/users/zenweasel/gists{/gist_id}","starred_url":"https://api.github.com/users/zenweasel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenweasel/subscriptions","organizations_url":"https://api.github.com/users/zenweasel/orgs","repos_url":"https://api.github.com/users/zenweasel/repos","events_url":"https://api.github.com/users/zenweasel/events{/privacy}","received_events_url":"https://api.github.com/users/zenweasel/received_events","type":"User","site_admin":false},"assignees":[{"login":"zenweasel","id":72819,"avatar_url":"https://avatars.githubusercontent.com/u/72819?v=3","gravatar_id":"","url":"https://api.github.com/users/zenweasel","html_url":"https://github.com/zenweasel","followers_url":"https://api.github.com/users/zenweasel/followers","following_url":"https://api.github.com/users/zenweasel/following{/other_user}","gists_url":"https://api.github.com/users/zenweasel/gists{/gist_id}","starred_url":"https://api.github.com/users/zenweasel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenweasel/subscriptions","organizations_url":"https://api.github.com/users/zenweasel/orgs","repos_url":"https://api.github.com/users/zenweasel/repos","events_url":"https://api.github.com/users/zenweasel/events{/privacy}","received_events_url":"https://api.github.com/users/zenweasel/received_events","type":"User","site_admin":false},{"login":"aaronjudd","id":439959,"avatar_url":"https://avatars.githubusercontent.com/u/439959?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronjudd","html_url":"https://github.com/aaronjudd","followers_url":"https://api.github.com/users/aaronjudd/followers","following_url":"https://api.github.com/users/aaronjudd/following{/other_user}","gists_url":"https://api.github.com/users/aaronjudd/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronjudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronjudd/subscriptions","organizations_url":"https://api.github.com/users/aaronjudd/orgs","repos_url":"https://api.github.com/users/aaronjudd/repos","events_url":"https://api.github.com/users/aaronjudd/events{/privacy}","received_events_url":"https://api.github.com/users/aaronjudd/received_events","type":"User","site_admin":false},{"login":"jshimko","id":3077956,"avatar_url":"https://avatars.githubusercontent.com/u/3077956?v=3","gravatar_id":"","url":"https://api.github.com/users/jshimko","html_url":"https://github.com/jshimko","followers_url":"https://api.github.com/users/jshimko/followers","following_url":"https://api.github.com/users/jshimko/following{/other_user}","gists_url":"https://api.github.com/users/jshimko/gists{/gist_id}","starred_url":"https://api.github.com/users/jshimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshimko/subscriptions","organizations_url":"https://api.github.com/users/jshimko/orgs","repos_url":"https://api.github.com/users/jshimko/repos","events_url":"https://api.github.com/users/jshimko/events{/privacy}","received_events_url":"https://api.github.com/users/jshimko/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-04T17:37:58Z","updated_at":"2016-10-04T19:27:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/reactioncommerce/reaction/pulls/1468","html_url":"https://github.com/reactioncommerce/reaction/pull/1468","diff_url":"https://github.com/reactioncommerce/reaction/pull/1468.diff","patch_url":"https://github.com/reactioncommerce/reaction/pull/1468.patch"},"body":"- clean up unused or unnecessary deps in Docker build\r\n- install all npm deps in first Meteor build step (remove --production)\r\n- create new base Docker image for better build caching\r\n- install MongoDB inside app container and use it if no external MONGO_URL is defined\r\n- move deps versions to Dockerfile for easier update maintenance (instead of having to update multiple places)\r\n- fix custom Meteor package file script\r\n- add build script for full build of base image and app image\r\n- fix lodash/camelcase import that was breaking the production build\r\n- npm version updates\r\n- update CircleCI scripts to use new Docker build\r\n\r\nThis creates a new base base image with all dependencies install (other than Meteor), so builds are much faster after the first time.  It also includes Mongo, so you can run the container without specifying an external database.  To test the new build locally...\r\n\r\n**Build**\r\n```sh\r\n.reaction/docker/build.sh\r\n```\r\n\r\n**Run**\r\n```sh\r\ndocker run -d -p 80:80 reactioncommerce/reaction:latest\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/reactioncommerce/reaction/issues/comments/251487743","html_url":"https://github.com/reactioncommerce/reaction/pull/1468#issuecomment-251487743","issue_url":"https://api.github.com/repos/reactioncommerce/reaction/issues/1468","id":251487743,"user":{"login":"jshimko","id":3077956,"avatar_url":"https://avatars.githubusercontent.com/u/3077956?v=3","gravatar_id":"","url":"https://api.github.com/users/jshimko","html_url":"https://github.com/jshimko","followers_url":"https://api.github.com/users/jshimko/followers","following_url":"https://api.github.com/users/jshimko/following{/other_user}","gists_url":"https://api.github.com/users/jshimko/gists{/gist_id}","starred_url":"https://api.github.com/users/jshimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshimko/subscriptions","organizations_url":"https://api.github.com/users/jshimko/orgs","repos_url":"https://api.github.com/users/jshimko/repos","events_url":"https://api.github.com/users/jshimko/events{/privacy}","received_events_url":"https://api.github.com/users/jshimko/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T19:27:19Z","updated_at":"2016-10-04T19:27:19Z","body":"Build/run instructions added to initial PR comment."}}
{"actor":{"display_login":"jshimko"}}