{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/5976","labels_url":"https://api.github.com/repos/openshift/origin/issues/5976/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/5976/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/5976/events","html_url":"https://github.com/openshift/origin/pull/5976","id":117984543,"number":5976,"title":"custom Dockerfile path for the docker build","user":{"login":"vbehar","id":6251,"avatar_url":"https://avatars.githubusercontent.com/u/6251?v=3","gravatar_id":"","url":"https://api.github.com/users/vbehar","html_url":"https://github.com/vbehar","followers_url":"https://api.github.com/users/vbehar/followers","following_url":"https://api.github.com/users/vbehar/following{/other_user}","gists_url":"https://api.github.com/users/vbehar/gists{/gist_id}","starred_url":"https://api.github.com/users/vbehar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbehar/subscriptions","organizations_url":"https://api.github.com/users/vbehar/orgs","repos_url":"https://api.github.com/users/vbehar/repos","events_url":"https://api.github.com/users/vbehar/events{/privacy}","received_events_url":"https://api.github.com/users/vbehar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-20T07:50:39Z","updated_at":"2015-11-20T20:53:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/5976","html_url":"https://github.com/openshift/origin/pull/5976","diff_url":"https://github.com/openshift/origin/pull/5976.diff","patch_url":"https://github.com/openshift/origin/pull/5976.patch"},"body":"This PR allows to customize the name of the Dockerfile file in a docker build, similar to the '--file' option of the 'docker build' command.\r\n\r\nour use case for this feature is to have different builds for a single codebase, resulting in different \"applications\". We already use different Dockerfiles for that, with the help of 'docker build --file', but it is not yet supported in openshift.\r\n\r\nfor the moment I only changed the API and the docker build. If you validate those changes and the naming, I'll go ahead and change the newapp / newbuild code to support a '--dockerfilePath' option, and the generate/dockerfile package to support a custom Dockerfile path (instead of the hardcoded \"Dockerfile\")"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/158520881","html_url":"https://github.com/openshift/origin/pull/5976#issuecomment-158520881","issue_url":"https://api.github.com/repos/openshift/origin/issues/5976","id":158520881,"user":{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T20:53:19Z","updated_at":"2015-11-20T20:53:19Z","body":"@smarterclayton how would you envision this interacting with the cli --from-file options you were looking into?"}}