{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/source-to-image/issues/297","labels_url":"https://api.github.com/repos/openshift/source-to-image/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/openshift/source-to-image/issues/297/comments","events_url":"https://api.github.com/repos/openshift/source-to-image/issues/297/events","html_url":"https://github.com/openshift/source-to-image/issues/297","id":109355517,"number":297,"title":"Add \"docker://\" source type","user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-01T18:23:20Z","updated_at":"2015-10-01T18:25:28Z","closed_at":null,"body":"Invoking the `sti build docker://image/path builder target`  should pull the `image` and then extract the `/path` from it and use it as a source, where the `/path` does not necessarily need to be a GIT repository.\r\n\r\nThis allows us to use local host directory as a source in OpenShift without pushing the code to external GIT server. It also allows bundling stuff like secrets or binary artifacts into Docker image (in case you don't want to use GIT).\r\n\r\nHaving this supported here should enable this in OpenShift as well which also means you can create docker image with the source you have locally, push it into OpenShift internal registry and use it as a source for the build.\r\n\r\n@smarterclayton @bparees just want to capture this idea, I think it is pretty neat :)"},"comment":{"url":"https://api.github.com/repos/openshift/source-to-image/issues/comments/144808956","html_url":"https://github.com/openshift/source-to-image/issues/297#issuecomment-144808956","issue_url":"https://api.github.com/repos/openshift/source-to-image/issues/297","id":144808956,"user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T18:25:28Z","updated_at":"2015-10-01T18:25:28Z","body":"@bparees this also allow us to do S2I build pipeline like:\r\n\r\n1. `s2i build file://java-app java-devel-builder java-app-with-dependencies`\r\n2. `s2i build docker://java-app-with-dependencies/war java-runtime final-app`"}}