docker GHC image for hacking

Simon Peyton Jones simonpj at microsoft.com
Tue Dec 9 13:27:40 UTC 2014


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/c0b48797/attachment.html>


More information about the ghc-devs mailing list