Commit 9426302c authored by Vaibhav Sagar's avatar Vaibhav Sagar

Dockerfile: use fpco/stack-build base image

parent 50c1c8ae
FROM ubuntu:16.04 FROM fpco/stack-build:lts-11.2
# Install all necessary Ubuntu packages # Install all necessary Ubuntu packages
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++ 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++ && \
rm -rf /var/lib/apt/lists/*
# Install Jupyter notebook # Install Jupyter notebook
RUN pip3 install -U jupyter RUN pip3 install -U jupyter
# Install stack from Stackage ENV LANG en_US.UTF-8
RUN curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C /usr/bin '*/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