Remove gensym, inc and or from step files.
[jackhill/mal.git] / haskell / Dockerfile
CommitLineData
f60f33e0 1FROM ubuntu:wily
72f67324
JM
2MAINTAINER Joel Martin <github@martintribe.org>
3
4##########################################################
5# General requirements for testing or common across many
6# implementations
7##########################################################
8
9RUN apt-get -y update
10
11# Required for running tests
12RUN apt-get -y install make python
13
14# Some typical implementation and test requirements
15RUN apt-get -y install curl libreadline-dev libedit-dev
16
17RUN mkdir -p /mal
18WORKDIR /mal
19
20##########################################################
21# Specific implementation requirements
22##########################################################
23
24# Haskell
f60f33e0
JM
25RUN apt-get install -y software-properties-common && \
26 add-apt-repository -y ppa:hvr/ghc && \
27 apt-get update && \
28 apt-get install -y cabal-install-1.22 ghc-7.10.3
29
30ENV PATH /opt/cabal/1.22/bin:/opt/ghc/7.10.3/bin:$PATH
31
32RUN cabal update && cabal install --global readline
33# TODO: editline when compile bug fixed
34RUN cabal install --global parsec
35