2 MAINTAINER Joel Martin <github@martintribe.org>
4 ##########################################################
5 # General requirements for testing or common across many
7 ##########################################################
11 # Required for running tests
12 RUN apt-get -y install make python
14 # Some typical implementation and test requirements
15 RUN apt-get -y install curl libreadline-dev libedit-dev
20 ##########################################################
21 # Specific implementation requirements
22 ##########################################################
25 RUN apt-get install -y software-properties-common && \
26 add-apt-repository -y ppa:hvr/ghc && \
28 apt-get install -y cabal-install-1.22 ghc-7.10.3
30 ENV PATH /opt/cabal/1.22/bin:/opt/ghc/7.10.3/bin:$PATH
32 RUN cabal update && cabal install --global readline
33 # TODO: editline when compile bug fixed
34 RUN cabal install --global parsec