<div dir="ltr">I came to a similar conclusion. I recently put together a Dockerfile that builds GHC 7.8.3 as an ARM cross compiler<div><br></div><div><a href="https://github.com/sseefried/docker-build-ghc-android">https://github.com/sseefried/docker-build-ghc-android</a><br></div><div><br></div><div>I've also written a draft blog post about it. It might contain some inaccuracies but any feedback is welcome. (Please send to my email address.)</div><div><br></div><div><a href="http://lambdalog.seanseefried.com/drafts/docker-build-scripts.html">http://lambdalog.seanseefried.com/drafts/docker-build-scripts.html</a><br></div><div><br></div><div>Sean</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 December 2014 at 11:35, Greg Weber <span dir="ltr"><<a href="mailto:greg@gregweber.info" target="_blank">greg@gregweber.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Friends,</div><div><br></div><div>As someone who started hacking on GHC last month I wanted to tell you that there is to high an overhead to getting started and overall to contributing to GHC.</div><div><br></div><div>One thing that can help is to make getting to the point of compiling GHC a much faster experience rather than starting off by dreading the process of installing dependencies. I created a docker image that has everything needed pre-installed. I do know that there are existing docker images for running the GHC compiler, but I am not aware of any designed for hacking on it.</div><div><br></div><div>Please give it a try and let me know if it works for you. The beauty is that once you have GHC checked out, if you have docker installed you are a single command away from having a working GHC environment:</div><div><br></div><div>    docker run --rm -i -t -v `pwd`:/home/ghc gregweber/ghc-haskell-dev /bin/bash<br></div><div><br></div><div>Once getting some feedback, I would like to document this on the wiki and recommend it for Linux users (definitely for anyone that is familiar with docker).</div><div><br></div><div><br></div><div>Thank you,</div><div>Greg Weber</div></div>
<br>_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
<br></blockquote></div><br></div>