mirror of
https://github.com/kanaka/mal.git
synced 2024-09-11 13:55:55 +03:00
Haskell: update docker image to 7.10.3
This goes along with https://github.com/kanaka/mal/pull/238
This commit is contained in:
parent
2af103066c
commit
f60f33e0d8
@ -390,10 +390,8 @@ guile -L ./ stepX_YYY.scm
|
||||
|
||||
### Haskell
|
||||
|
||||
Install the Haskell compiler (ghc/ghci), the Haskell platform and
|
||||
either the editline package (BSD) or the readline package (GPL). On
|
||||
Ubuntu these packages are: ghc, haskell-platform,
|
||||
libghc-readline-dev/libghc-editline-dev
|
||||
The Haskell implementation requires the ghc compiler version 7.10.1 or
|
||||
later and also the Haskell parsec and readline (or editline) packages.
|
||||
|
||||
```
|
||||
cd haskell
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM ubuntu:vivid
|
||||
FROM ubuntu:wily
|
||||
MAINTAINER Joel Martin <github@martintribe.org>
|
||||
|
||||
##########################################################
|
||||
@ -22,4 +22,14 @@ WORKDIR /mal
|
||||
##########################################################
|
||||
|
||||
# Haskell
|
||||
RUN apt-get -y install ghc haskell-platform libghc-readline-dev libghc-editline-dev
|
||||
RUN apt-get install -y software-properties-common && \
|
||||
add-apt-repository -y ppa:hvr/ghc && \
|
||||
apt-get update && \
|
||||
apt-get install -y cabal-install-1.22 ghc-7.10.3
|
||||
|
||||
ENV PATH /opt/cabal/1.22/bin:/opt/ghc/7.10.3/bin:$PATH
|
||||
|
||||
RUN cabal update && cabal install --global readline
|
||||
# TODO: editline when compile bug fixed
|
||||
RUN cabal install --global parsec
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user