docker GHC image for hacking

Greg Weber greg at gregweber.info
Tue Dec 9 22:47:01 UTC 2014


I added documentation to
https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Linux and linked
from https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/MacOSX

On Tue, Dec 9, 2014 at 5:27 AM, Simon Peyton Jones <simonpj at microsoft.com>
wrote:

>   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).
>
>
>
> Sounds really helpful thanks Greg.  Do make a GHC wiki page about it, with
> links
>
>
>
> Simon
>
>
>
> *From:* ghc-devs [mailto:ghc-devs-bounces at haskell.org] *On Behalf Of *Greg
> Weber
> *Sent:* 09 December 2014 00:36
> *To:* ghc-devs at haskell.org
> *Subject:* docker GHC image for hacking
>
>
>
> Friends,
>
>
>
> 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.
>
>
>
> 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.
>
>
>
> 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:
>
>
>
>     docker run --rm -i -t -v `pwd`:/home/ghc gregweber/ghc-haskell-dev
> /bin/bash
>
>
>
> 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).
>
>
>
>
>
> Thank you,
>
> Greg Weber
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141209/013e23cb/attachment.html>


More information about the ghc-devs mailing list