Commit 92eeee3a authored by Ben Gamari's avatar Ben Gamari 🐢

linters: Update to Debian buster

parent ba119705
FROM debian:stretch
FROM debian:buster
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
......@@ -9,7 +9,7 @@ RUN apt-get update -qq; apt-get install --no-install-recommends -qy gnupg dirmng
&& rm -rf /var/lib/apt/lists/*
# http://downloads.haskell.org/debian/
RUN echo 'deb http://downloads.haskell.org/debian stretch main' > /etc/apt/sources.list.d/ghc.list
RUN echo 'deb http://downloads.haskell.org/debian buster main' > /etc/apt/sources.list.d/ghc.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA3CBA3FFE22B574
# Core build utilities
......@@ -33,7 +33,8 @@ RUN apt-get update -qq && apt-get install --no-install-recommends -qy \
WORKDIR /tmp
# Install GHC and cabal
ENV GHC_VERSION 8.8.3
RUN curl -L https://downloads.haskell.org/~ghc/$GHC_VERSION/ghc-$GHC_VERSION-x86_64-deb9-linux.tar.xz | tar -Jx;
RUN curl -L https://downloads.haskell.org/~ghc/$GHC_VERSION/ghc-$GHC_VERSION-x86_64-deb10-linux.tar.xz \
| tar -Jx;
WORKDIR /tmp/ghc-$GHC_VERSION
RUN ./configure --prefix=/opt/ghc/$GHC_VERSION; \
make install;
......
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