Commit 2bcdbe52 authored by Vaibhav Sagar's avatar Vaibhav Sagar

Dockerfile: install stack from Stackage

parent c9a0fa44
FROM ubuntu:16.04 FROM ubuntu:16.04
# Install all necessary Ubuntu packages # Install all necessary Ubuntu packages
RUN apt-get update && apt-get install -y python3-pip libmagic-dev libtinfo-dev libzmq3-dev libcairo2-dev libpango1.0-dev libblas-dev liblapack-dev gcc g++ RUN apt-get update && apt-get install -y python3-pip libgmp-dev libmagic-dev libtinfo-dev libzmq3-dev libcairo2-dev libpango1.0-dev libblas-dev liblapack-dev gcc g++
# Install Jupyter notebook # Install Jupyter notebook
RUN pip3 install -U jupyter RUN pip3 install -U jupyter
# Install stack from the FPComplete repositories. # Install stack from Stackage
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442 && \ RUN curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C /usr/bin '*/stack'
echo 'deb http://download.fpcomplete.com/ubuntu trusty main' > /etc/apt/sources.list.d/fpco.list && \
apt-get update && \
apt-get install -y stack
# Set up a working directory for IHaskell # Set up a working directory for IHaskell
RUN mkdir /ihaskell RUN mkdir /ihaskell
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment