{"action":"created","issue":{"url":"https://api.github.com/repos/dockerland/dex-dockerfiles-extra/issues/3","repository_url":"https://api.github.com/repos/dockerland/dex-dockerfiles-extra","labels_url":"https://api.github.com/repos/dockerland/dex-dockerfiles-extra/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dockerland/dex-dockerfiles-extra/issues/3/comments","events_url":"https://api.github.com/repos/dockerland/dex-dockerfiles-extra/issues/3/events","html_url":"https://github.com/dockerland/dex-dockerfiles-extra/pull/3","id":187503426,"number":3,"title":"Add runhaskell image","user":{"login":"SamTay","id":7246591,"avatar_url":"https://avatars.githubusercontent.com/u/7246591?v=3","gravatar_id":"","url":"https://api.github.com/users/SamTay","html_url":"https://github.com/SamTay","followers_url":"https://api.github.com/users/SamTay/followers","following_url":"https://api.github.com/users/SamTay/following{/other_user}","gists_url":"https://api.github.com/users/SamTay/gists{/gist_id}","starred_url":"https://api.github.com/users/SamTay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamTay/subscriptions","organizations_url":"https://api.github.com/users/SamTay/orgs","repos_url":"https://api.github.com/users/SamTay/repos","events_url":"https://api.github.com/users/SamTay/events{/privacy}","received_events_url":"https://api.github.com/users/SamTay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"briceburg","id":490144,"avatar_url":"https://avatars.githubusercontent.com/u/490144?v=3","gravatar_id":"","url":"https://api.github.com/users/briceburg","html_url":"https://github.com/briceburg","followers_url":"https://api.github.com/users/briceburg/followers","following_url":"https://api.github.com/users/briceburg/following{/other_user}","gists_url":"https://api.github.com/users/briceburg/gists{/gist_id}","starred_url":"https://api.github.com/users/briceburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briceburg/subscriptions","organizations_url":"https://api.github.com/users/briceburg/orgs","repos_url":"https://api.github.com/users/briceburg/repos","events_url":"https://api.github.com/users/briceburg/events{/privacy}","received_events_url":"https://api.github.com/users/briceburg/received_events","type":"User","site_admin":false},"assignees":[{"login":"briceburg","id":490144,"avatar_url":"https://avatars.githubusercontent.com/u/490144?v=3","gravatar_id":"","url":"https://api.github.com/users/briceburg","html_url":"https://github.com/briceburg","followers_url":"https://api.github.com/users/briceburg/followers","following_url":"https://api.github.com/users/briceburg/following{/other_user}","gists_url":"https://api.github.com/users/briceburg/gists{/gist_id}","starred_url":"https://api.github.com/users/briceburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briceburg/subscriptions","organizations_url":"https://api.github.com/users/briceburg/orgs","repos_url":"https://api.github.com/users/briceburg/repos","events_url":"https://api.github.com/users/briceburg/events{/privacy}","received_events_url":"https://api.github.com/users/briceburg/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-11-05T15:29:35Z","updated_at":"2016-11-07T21:36:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dockerland/dex-dockerfiles-extra/pulls/3","html_url":"https://github.com/dockerland/dex-dockerfiles-extra/pull/3","diff_url":"https://github.com/dockerland/dex-dockerfiles-extra/pull/3.diff","patch_url":"https://github.com/dockerland/dex-dockerfiles-extra/pull/3.patch"},"body":"The only way we will ever get to use haskell at work... without its dependencies!\r\n\r\nThis will only allow scripts that don't depend on packages outside of `base`, but that's not terrible. I'm not sure how we would go about `dex`ifying the image with respect to [stack](https://docs.haskellstack.org/en/stable/README/) to allow adding cabal package dependencies, since it's such a relative-to-directory & `$HOME` type of tool. Better to keep simple for now.\r\n\r\nOnce installed, people can start scripting via ` #!/usr/bin/env runhaskell`"},"comment":{"url":"https://api.github.com/repos/dockerland/dex-dockerfiles-extra/issues/comments/258970470","html_url":"https://github.com/dockerland/dex-dockerfiles-extra/pull/3#issuecomment-258970470","issue_url":"https://api.github.com/repos/dockerland/dex-dockerfiles-extra/issues/3","id":258970470,"user":{"login":"SamTay","id":7246591,"avatar_url":"https://avatars.githubusercontent.com/u/7246591?v=3","gravatar_id":"","url":"https://api.github.com/users/SamTay","html_url":"https://github.com/SamTay","followers_url":"https://api.github.com/users/SamTay/followers","following_url":"https://api.github.com/users/SamTay/following{/other_user}","gists_url":"https://api.github.com/users/SamTay/gists{/gist_id}","starred_url":"https://api.github.com/users/SamTay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamTay/subscriptions","organizations_url":"https://api.github.com/users/SamTay/orgs","repos_url":"https://api.github.com/users/SamTay/repos","events_url":"https://api.github.com/users/SamTay/events{/privacy}","received_events_url":"https://api.github.com/users/SamTay/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T21:36:35Z","updated_at":"2016-11-07T21:36:35Z","body":"That makes sense.. yeah when you run `stack build` for instance inside the directory of a detectable stack project, it has effects on subsequent calls to `stack` within that directory - installing other executables with possibly extra cabal packages into `CWD/.stack_work/`, and then preferencing those, with the users home directory as a fallback.\r\n\r\nSounds like what you laid out, extending image with different entry point, and specifying `org.dockerland.dex.docker_home=\"~\"` would handle all of this correctly though. I'll test that stuff locally at some point and send another PR."}}
{"actor":{"display_login":"SamTay"}}