summaryrefslogtreecommitdiff
path: root/.circleci/images/x86_64-linux-deb9/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '.circleci/images/x86_64-linux-deb9/Dockerfile')
-rw-r--r--.circleci/images/x86_64-linux-deb9/Dockerfile46
1 files changed, 0 insertions, 46 deletions
diff --git a/.circleci/images/x86_64-linux-deb9/Dockerfile b/.circleci/images/x86_64-linux-deb9/Dockerfile
deleted file mode 100644
index 15ae41a2e4..0000000000
--- a/.circleci/images/x86_64-linux-deb9/Dockerfile
+++ /dev/null
@@ -1,46 +0,0 @@
-FROM debian:stretch
-
-ENV LANG C.UTF-8
-
-RUN apt-get update -qq; apt-get install -qy gnupg
-
-# http://downloads.haskell.org/debian/
-RUN echo 'deb http://downloads.haskell.org/debian stretch main' > /etc/apt/sources.list.d/ghc.list
-RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA3CBA3FFE22B574
-RUN apt-get update -qq
-
-# Core build utilities
-RUN apt-get install -qy zlib1g-dev libtinfo-dev libsqlite3-0 libsqlite3-dev \
- ca-certificates g++ git make automake autoconf gcc \
- perl python3 texinfo xz-utils lbzip2 patch openssh-client sudo \
- jq wget curl
-
-# Documentation tools
-RUN apt-get install -qy python3-sphinx texlive-xetex texlive-latex-extra
-
-# Basic Haskell toolchain
-RUN apt-get install -qy cabal-install-2.4 ghc-8.4.4
-
-ENV PATH /home/ghc/.local/bin:/opt/cabal/2.4/bin:/opt/ghc/8.4.4/bin:$PATH
-
-# LLVM
-ENV LLVM_TARBALL http://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
-ENV PATH /opt/llvm/bin:$PATH
-RUN curl $LLVM_TARBALL | tar -xJC ..; \
- mkdir /opt/llvm; \
- cp -R clang+llvm*/* /opt/llvm; \
- rm -R clang+llvm*; \
- llc --version
-
-# Create a normal user.
-RUN adduser ghc --gecos "GHC builds" --disabled-password
-RUN echo "ghc ALL = NOPASSWD : ALL" > /etc/sudoers.d/ghc
-USER ghc
-WORKDIR /home/ghc/
-
-# Build Haskell tools
-RUN cabal v2-update && \
- cabal v2-install hscolour happy alex
-ENV PATH /home/ghc/.cabal/bin:$PATH
-
-CMD ["bash"]