{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/7379","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/7379/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/7379/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/7379/events","html_url":"https://github.com/openshift/origin/pull/7379","id":134297070,"number":7379,"title":"Run post build hook with /bin/bash","user":{"login":"rhcarvalho","id":88819,"avatar_url":"https://avatars.githubusercontent.com/u/88819?v=3","gravatar_id":"","url":"https://api.github.com/users/rhcarvalho","html_url":"https://github.com/rhcarvalho","followers_url":"https://api.github.com/users/rhcarvalho/followers","following_url":"https://api.github.com/users/rhcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/rhcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/rhcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhcarvalho/subscriptions","organizations_url":"https://api.github.com/users/rhcarvalho/orgs","repos_url":"https://api.github.com/users/rhcarvalho/repos","events_url":"https://api.github.com/users/rhcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/rhcarvalho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-17T14:39:41Z","updated_at":"2016-02-17T16:18:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/7379","html_url":"https://github.com/openshift/origin/pull/7379","diff_url":"https://github.com/openshift/origin/pull/7379.diff","patch_url":"https://github.com/openshift/origin/pull/7379.patch"},"body":"We need either `/bin/bash -c` or `/bin/sh -ic` to make our supported\r\nimages to work properly. That's due to a hack to auto-enable SCLs.\r\nhttps://github.com/openshift/sti-base/blob/8d95148/Dockerfile#L23-L29\r\n\r\nWhen `/bin/sh` is a symlink to `/bin/bash`, the ENV environment variable\r\nis only evaluated when the shell is started in interactive mode.\r\n\r\nMaking the shell interactive with `-i` seems to make less sense than\r\nrequiring Bash. For images that do not include Bash, the full\r\nCommand+Args syntax is the way to go."},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/185280019","html_url":"https://github.com/openshift/origin/pull/7379#issuecomment-185280019","issue_url":"https://api.github.com/repos/openshift/origin/issues/7379","id":185280019,"user":{"login":"bparees","id":4974046,"avatar_url":"https://avatars.githubusercontent.com/u/4974046?v=3","gravatar_id":"","url":"https://api.github.com/users/bparees","html_url":"https://github.com/bparees","followers_url":"https://api.github.com/users/bparees/followers","following_url":"https://api.github.com/users/bparees/following{/other_user}","gists_url":"https://api.github.com/users/bparees/gists{/gist_id}","starred_url":"https://api.github.com/users/bparees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bparees/subscriptions","organizations_url":"https://api.github.com/users/bparees/orgs","repos_url":"https://api.github.com/users/bparees/repos","events_url":"https://api.github.com/users/bparees/events{/privacy}","received_events_url":"https://api.github.com/users/bparees/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T16:18:35Z","updated_at":"2016-02-17T16:18:35Z","body":"lgtm [merge]\r\n\r\nbut will need a docs pull I believe also?\r\n"}}