{"action":"closed","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/2084","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/2084/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/2084/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/2084/events","html_url":"https://github.com/eclipse/che/issues/2084","id":170265211,"number":2084,"title":"How do I write a custom recipe that uses scripts?","user":{"login":"loganto","id":3410509,"avatar_url":"https://avatars.githubusercontent.com/u/3410509?v=3","gravatar_id":"","url":"https://api.github.com/users/loganto","html_url":"https://github.com/loganto","followers_url":"https://api.github.com/users/loganto/followers","following_url":"https://api.github.com/users/loganto/following{/other_user}","gists_url":"https://api.github.com/users/loganto/gists{/gist_id}","starred_url":"https://api.github.com/users/loganto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganto/subscriptions","organizations_url":"https://api.github.com/users/loganto/orgs","repos_url":"https://api.github.com/users/loganto/repos","events_url":"https://api.github.com/users/loganto/events{/privacy}","received_events_url":"https://api.github.com/users/loganto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/che/labels/kind/question","name":"kind/question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-09T20:40:57Z","updated_at":"2016-08-10T09:05:07Z","closed_at":"2016-08-10T09:05:07Z","body":"My dockerfile looks like example below.  \r\nobviously when I run it locally on my host where I have all of the dependencies -> everything works.\r\nBut when I paste that as a custom recipe -> it predictably fails to find dependencies.\r\nHow would I rewrite my dockerfile to fix this?\r\n\r\n> FROM ubuntu:trusty\r\n> \r\n> #Add image configuration and scripts\r\n> COPY . /tmp/docker\r\n> WORKDIR /tmp/docker\r\n> RUN /tmp/docker/installer.sh\r\n>  \r\n> #this should start apache on docker run.\r\n> CMD [\"/tmp/docker/run.sh\"]\r\n> \r\n> EXPOSE 80"}}
{"actor":{"display_login":"loganto"}}