myriad/languages/haskell/Dockerfile

18 lines
618 B
Text
Raw Normal View History

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