{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/source-to-image/issues/175","labels_url":"https://api.github.com/repos/openshift/source-to-image/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/openshift/source-to-image/issues/175/comments","events_url":"https://api.github.com/repos/openshift/source-to-image/issues/175/events","html_url":"https://github.com/openshift/source-to-image/issues/175","id":72148034,"number":175,"title":"Set the WORKDIR to the path where the application code lives","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":3,"created_at":"2015-04-30T12:48:38Z","updated_at":"2015-05-05T13:58:28Z","closed_at":null,"body":"It would be useful to have the `WORKDIR` set to the path where your application code lives in images created with STI.\r\n\r\nThat way, it would be possible to call scripts you might have in your code base passing its relative path to `docker exec` or `osc exec`.\r\n\r\n`docker exec -it <container> bash` would start in the \"right\" directory.\r\n\r\nIf there is no opposition to this idea, I could implement this myself given a pointer to where to start :smile: \r\n[pkg/create/templates/docker.go](https://github.com/openshift/source-to-image/blob/master/pkg/create/templates/docker.go)?"},"comment":{"url":"https://api.github.com/repos/openshift/source-to-image/issues/comments/99085331","html_url":"https://github.com/openshift/source-to-image/issues/175#issuecomment-99085331","issue_url":"https://api.github.com/repos/openshift/source-to-image/issues/175","id":99085331,"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":"2015-05-05T13:58:28Z","updated_at":"2015-05-05T13:58:28Z","body":"@rhcarvalho so this can be closed?"}}