myriad/languages/haskell/Dockerfile

16 lines
498 B
Text
Raw Normal View History

2019-07-09 11:19:41 +02:00
FROM debian:stretch
LABEL author="1Computer1"
ENV LANG C.UTF-8
RUN apt-get update && \
apt-get install -y --no-install-recommends gnupg dirmngr && \
echo 'deb http://downloads.haskell.org/debian stretch main' > /etc/apt/sources.list.d/ghc.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA3CBA3FFE22B574 && \
apt-get update && \
apt-get install -y --no-install-recommends ghc-8.6.5
ENV PATH /opt/ghc/8.6.5/bin:$PATH
COPY .ghci $HOME/
COPY run.sh /var/run/