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
3ef3a710
Commit
3ef3a710
authored
Mar 10, 2014
by
Andrew Gibiansky
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'gregwebs/docker3'
Conflicts: README.md
parents
a6a9412d
1217d2d3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
13 deletions
+18
-13
Dockerfile
Dockerfile
+12
-7
README.md
README.md
+4
-5
ihaskell.cabal
ihaskell.cabal
+2
-1
No files found.
Dockerfile
View file @
3ef3a710
...
...
@@ -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
...
...
README.md
View file @
3ef3a710
...
...
@@ -24,14 +24,13 @@ As well as the IPython browser-based notebook interface:
Linux Package Installation
===
There is a Docker package for Linux.
We will put it up on the registry, but for now you can build it yourself by cloning the repo and running:
There is a Docker package for Linux.
sudo docker build -t IHaskell:dev .
sudo docker run -p 8778:8778 IHaskell:dev
sudo docker run -p 8778:8778 gregweber/ihaskell
Th
e console (instead of the browser) can be run
with
Th
is is defaulted to run the browser. You can run the console instead
with
sudo docker run -rm -i -t
IHaskell:dev
console
sudo docker run -rm -i -t
gregweber/ihaskell
console
Windows Installation
===
...
...
ihaskell.cabal
View file @
3ef3a710
...
...
@@ -110,8 +110,9 @@ library
IHaskell.Flags
IHaskell.Types
IHaskell.BrokenPackages
other-modules:
Paths_ihaskell
-- other-modules:
-- Paths_ihaskell
executable IHaskell
-- .hs or .lhs file containing the Main module.
...
...
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