{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/source-to-image/issues/461","repository_url":"https://api.github.com/repos/openshift/source-to-image","labels_url":"https://api.github.com/repos/openshift/source-to-image/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/openshift/source-to-image/issues/461/comments","events_url":"https://api.github.com/repos/openshift/source-to-image/issues/461/events","html_url":"https://github.com/openshift/source-to-image/pull/461","id":146564076,"number":461,"title":"Add support for bind mounts","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":9,"created_at":"2016-04-07T09:43:38Z","updated_at":"2016-04-07T10:05:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/source-to-image/pulls/461","html_url":"https://github.com/openshift/source-to-image/pull/461","diff_url":"https://github.com/openshift/source-to-image/pull/461.diff","patch_url":"https://github.com/openshift/source-to-image/pull/461.patch"},"body":"Fixes: https://github.com/openshift/source-to-image/issues/416\r\n\r\nThis PR add ability to define [bind mounts](https://docs.docker.com/engine/userguide/containers/dockervolumes/#adding-a-data-volume) for container where the assemble runs.\r\n\r\nNote that this is different from \"inject\", because specifying a bind mount will replace the content of the directory inside the container, where \"inject\" will only add/overwrite the files.\r\n\r\nOne cool side-effect here is that you are able to \"build\" sources using S2I, but you don't have to care about the output image (allows to build jars, binary artifacts, etc...)\r\n\r\nExample:\r\n\r\n```console\r\n$ s2i build --loglevel=5 -v $(pwd):/opt/app-root/src . centos/ruby-22-centos7 hello-world-app\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/source-to-image/issues/comments/206794815","html_url":"https://github.com/openshift/source-to-image/pull/461#issuecomment-206794815","issue_url":"https://api.github.com/repos/openshift/source-to-image/issues/461","id":206794815,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars.githubusercontent.com/u/1779249?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T10:05:19Z","updated_at":"2016-04-07T10:05:19Z","body":"Source To Image Test Results: FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_sti/38/)"}}