Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
70c5505a
Commit
70c5505a
authored
Mar 09, 2014
by
Greg Weber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use own haskell-platform build with a proper user
parent
66200654
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
Dockerfile
Dockerfile
+12
-7
No files found.
Dockerfile
View file @
70c5505a
...
...
@@ -7,30 +7,35 @@
# sudo docker run -rm -i -t IHaskell:dev console
from
zsol/haskell-platform-2013.2.0.0:latest
maintainer
gregweber
FROM
gregweber/haskell-platform-2013.2-deb64
MAINTAINER
gregweber
RUN
sudo
apt-get update
RUN
sudo
apt-get
install
-yq
git pkg-config libtool automake libncurses5-dev python-dev
RUN
curl
-L
https://github.com/zeromq/zeromq4-x/archive/v4.0.3.tar.gz
>
v4.0.3.tar.gz
&&
\
RUN
sudo
apt-get
install
-yq
g++ git pkg-config libtool automake libncurses5-dev python-dev
RUN
wget https://github.com/zeromq/zeromq4-x/archive/v4.0.3.tar.gz
&&
\
tar
xvfz v4.0.3.tar.gz
&&
\
cd
zeromq4-x-4.0.3
&&
\
./autogen.sh
&&
./configure
&&
\
make
&&
sudo
make
install
&&
\
sudo
ldconfig
sudo
ldconfig
&&
\
cd
..
&&
rm
-r
zeromq4-x-4.0.3
&&
rm
v4.0.3.tar.gz
RUN
cabal update
RUN
cabal
install
happy-1.19.3 cpphs-1.18.3
ENV
PATH /home/haskell/.cabal/bin:$PATH
# IHaskell dependencies used by Haskell code
# IHaskell console installer expects curl
# some extensions require C libraries
RUN
sudo
apt-get
install
-yq
curl libgtk2.0-dev libgtk-3-dev libmagic-dev
# use local modifications of source code
ADD
. /home/haskell/IHaskell
# Alternative, use latest master
# RUN git clone https://github.com/gibiansky/IHaskell
RUN
cd
IHaskell
&&
./build.sh all
RUN
cd
~/
IHaskell
&&
./build.sh all
# Alternative, install everything directly from hackage without using a repo
# RUN cabal install ipython-kernel ihaskell-aeson ihaskell-blaze gtk2hs-buildtools ihaskell-diagrams ihaskell-display ihaskell-magic
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment