{"action":"created","issue":{"url":"https://api.github.com/repos/convox/rack/issues/1909","repository_url":"https://api.github.com/repos/convox/rack","labels_url":"https://api.github.com/repos/convox/rack/issues/1909/labels{/name}","comments_url":"https://api.github.com/repos/convox/rack/issues/1909/comments","events_url":"https://api.github.com/repos/convox/rack/issues/1909/events","html_url":"https://github.com/convox/rack/pull/1909","id":206286185,"number":1909,"title":"build cache","user":{"login":"ddollar","id":3308,"avatar_url":"https://avatars.githubusercontent.com/u/3308?v=3","gravatar_id":"","url":"https://api.github.com/users/ddollar","html_url":"https://github.com/ddollar","followers_url":"https://api.github.com/users/ddollar/followers","following_url":"https://api.github.com/users/ddollar/following{/other_user}","gists_url":"https://api.github.com/users/ddollar/gists{/gist_id}","starred_url":"https://api.github.com/users/ddollar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddollar/subscriptions","organizations_url":"https://api.github.com/users/ddollar/orgs","repos_url":"https://api.github.com/users/ddollar/repos","events_url":"https://api.github.com/users/ddollar/events{/privacy}","received_events_url":"https://api.github.com/users/ddollar/received_events","type":"User","site_admin":false},"labels":[{"id":511811420,"url":"https://api.github.com/repos/convox/rack/labels/kind/feature","name":"kind/feature","color":"0052cc","default":false},{"id":530064360,"url":"https://api.github.com/repos/convox/rack/labels/status/5-needsreview","name":"status/5-needsreview","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"MiguelMoll","id":643960,"avatar_url":"https://avatars.githubusercontent.com/u/643960?v=3","gravatar_id":"","url":"https://api.github.com/users/MiguelMoll","html_url":"https://github.com/MiguelMoll","followers_url":"https://api.github.com/users/MiguelMoll/followers","following_url":"https://api.github.com/users/MiguelMoll/following{/other_user}","gists_url":"https://api.github.com/users/MiguelMoll/gists{/gist_id}","starred_url":"https://api.github.com/users/MiguelMoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiguelMoll/subscriptions","organizations_url":"https://api.github.com/users/MiguelMoll/orgs","repos_url":"https://api.github.com/users/MiguelMoll/repos","events_url":"https://api.github.com/users/MiguelMoll/events{/privacy}","received_events_url":"https://api.github.com/users/MiguelMoll/received_events","type":"User","site_admin":false},"assignees":[{"login":"MiguelMoll","id":643960,"avatar_url":"https://avatars.githubusercontent.com/u/643960?v=3","gravatar_id":"","url":"https://api.github.com/users/MiguelMoll","html_url":"https://github.com/MiguelMoll","followers_url":"https://api.github.com/users/MiguelMoll/followers","following_url":"https://api.github.com/users/MiguelMoll/following{/other_user}","gists_url":"https://api.github.com/users/MiguelMoll/gists{/gist_id}","starred_url":"https://api.github.com/users/MiguelMoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiguelMoll/subscriptions","organizations_url":"https://api.github.com/users/MiguelMoll/orgs","repos_url":"https://api.github.com/users/MiguelMoll/repos","events_url":"https://api.github.com/users/MiguelMoll/events{/privacy}","received_events_url":"https://api.github.com/users/MiguelMoll/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-02-08T18:38:03Z","updated_at":"2017-02-20T01:32:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/convox/rack/pulls/1909","html_url":"https://github.com/convox/rack/pull/1909","diff_url":"https://github.com/convox/rack/pull/1909.diff","patch_url":"https://github.com/convox/rack/pull/1909.patch"},"body":"This change allows you to persist certain artifacts between docker builds. This is useful for speeding up things like `bundle install`.\r\n\r\nThe new behavior:\r\n\r\n* Any files residing in `/var/cache/build` in your image will be extracted after your build is complete and stored at the application level.\r\n* Future builds will see the contents of this cached directory injected into `.cache/build` during the build process.\r\n\r\nAn example of how to use this with `bundle install`:\r\n\r\n````\r\n# bundle install\r\nCOPY Gemfile      /app/Gemfile\r\nCOPY Gemfile.lock /app/Gemfile.lock\r\nCOPY .cache/build/gems /var/cache/build/gems\r\nRUN bundle install --path /var/cache/build/gems\r\n````\r\n\r\nThe next time you need to touch your Gemfile.lock you won't need to completely rebuild your entire Gemfile as the local artifacts will already be present."},"comment":{"url":"https://api.github.com/repos/convox/rack/issues/comments/280967726","html_url":"https://github.com/convox/rack/pull/1909#issuecomment-280967726","issue_url":"https://api.github.com/repos/convox/rack/issues/1909","id":280967726,"user":{"login":"FWMatt","id":946513,"avatar_url":"https://avatars.githubusercontent.com/u/946513?v=3","gravatar_id":"","url":"https://api.github.com/users/FWMatt","html_url":"https://github.com/FWMatt","followers_url":"https://api.github.com/users/FWMatt/followers","following_url":"https://api.github.com/users/FWMatt/following{/other_user}","gists_url":"https://api.github.com/users/FWMatt/gists{/gist_id}","starred_url":"https://api.github.com/users/FWMatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FWMatt/subscriptions","organizations_url":"https://api.github.com/users/FWMatt/orgs","repos_url":"https://api.github.com/users/FWMatt/repos","events_url":"https://api.github.com/users/FWMatt/events{/privacy}","received_events_url":"https://api.github.com/users/FWMatt/received_events","type":"User","site_admin":false},"created_at":"2017-02-20T01:32:00Z","updated_at":"2017-02-20T01:32:00Z","body":"I think this is a great idea.\r\n\r\nMy initial idea when building a Rails app was to use a volume from docker-compose.yml to store gems. However volumes don't appear to be accessible from the Dockerfile?"}}
{"actor":{"display_login":"FWMatt"}}