{"action":"created","issue":{"url":"https://api.github.com/repos/Shippable/support/issues/1238","labels_url":"https://api.github.com/repos/Shippable/support/issues/1238/labels{/name}","comments_url":"https://api.github.com/repos/Shippable/support/issues/1238/comments","events_url":"https://api.github.com/repos/Shippable/support/issues/1238/events","html_url":"https://github.com/Shippable/support/issues/1238","id":65038859,"number":1238,"title":"Dedicated hosts: enabling layer cache for docker builds","user":{"login":"melo","id":485,"avatar_url":"https://avatars.githubusercontent.com/u/485?v=3","gravatar_id":"","url":"https://api.github.com/users/melo","html_url":"https://github.com/melo","followers_url":"https://api.github.com/users/melo/followers","following_url":"https://api.github.com/users/melo/following{/other_user}","gists_url":"https://api.github.com/users/melo/gists{/gist_id}","starred_url":"https://api.github.com/users/melo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melo/subscriptions","organizations_url":"https://api.github.com/users/melo/orgs","repos_url":"https://api.github.com/users/melo/repos","events_url":"https://api.github.com/users/melo/events{/privacy}","received_events_url":"https://api.github.com/users/melo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Shippable/support/labels/question","name":"question","color":"c7def8"},{"url":"https://api.github.com/repos/Shippable/support/labels/resolved","name":"resolved","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-29T09:00:28Z","updated_at":"2015-03-30T21:56:22Z","closed_at":null,"body":"Hi,\r\n\r\nI'm using Docker builds for some node.js projects and I would like the npm install layer to be cached.\r\n\r\nBut with the current command that Shippable is using this will not happen:\r\n\r\n`sudo docker build --rm=true --pull=true --force-rm=true --no-cache=true --tag=\"XXXXXX\" .`\r\n\r\nIs there any switch I can use to remove the options `--rm=true --force-rm=true --no-cache=true` from my builds?\r\n\r\nThanks,\r\n"},"comment":{"url":"https://api.github.com/repos/Shippable/support/issues/comments/87843775","html_url":"https://github.com/Shippable/support/issues/1238#issuecomment-87843775","issue_url":"https://api.github.com/repos/Shippable/support/issues/1238","id":87843775,"user":{"login":"melo","id":485,"avatar_url":"https://avatars.githubusercontent.com/u/485?v=3","gravatar_id":"","url":"https://api.github.com/users/melo","html_url":"https://github.com/melo","followers_url":"https://api.github.com/users/melo/followers","following_url":"https://api.github.com/users/melo/following{/other_user}","gists_url":"https://api.github.com/users/melo/gists{/gist_id}","starred_url":"https://api.github.com/users/melo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melo/subscriptions","organizations_url":"https://api.github.com/users/melo/orgs","repos_url":"https://api.github.com/users/melo/repos","events_url":"https://api.github.com/users/melo/events{/privacy}","received_events_url":"https://api.github.com/users/melo/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T21:56:22Z","updated_at":"2015-03-30T21:56:22Z","body":"Yeah, not what I looking for… We mostly want to build Docker images, using the Docker Build's functionality with the external hosts, and the difference between a full build and a build with cache is 10 mins vs 1.5 seconds, given that the biggest step is to install all the deps of our node.js project and those rarely change…\r\n\r\nI'll work around with it with a docker wrapper script that removes the extra parameters, but I hope that you would consider giving us an option to do this directly.\r\n\r\nThank you"}}