Docker: Remove Haskell from Debian Sid image
Unfortunately `cabal` is currently unable to install the dependencies
of the type system. Since we still want to be able to build the Docker
image, we remove all traces of Haskell from the Dockerfile.
@@ -38,12 +38,6 @@ RUN apt-get update && apt-get -y install \
libuv1-dev \
libev-dev \
libzmq3-dev \
- ghc \
- ghc-dynamic \
- cabal-install \
- alex \
- happy \
- c2hs \
checkinstall \
openjdk-8-jdk \
maven \
@@ -60,7 +54,6 @@ RUN apt-get update && apt-get -y install \
moreutils \
&& rm -rf /var/lib/apt/lists/*
-RUN cabal update && cabal install hspec QuickCheck
RUN pip install cmake-format==0.4.3 pyyaml
# Google Test
@@ -98,15 +91,3 @@ RUN useradd \
jenkins
USER ${JENKINS_USERID}
-
-# Handle Haskell dependencies
-ENV HASKELL_SHARED_SANDBOX /home/jenkins/elektra-cabal-sandbox
-RUN mkdir -p $HASKELL_SHARED_SANDBOX \
- && cd $HASKELL_SHARED_SANDBOX \
- && cabal update \
- && cabal sandbox init \
- && cabal install 'base >=4.9 && <4.12' 'containers >=0.5 && <0.6' \
- 'directory >=1.2 && <1.4' 'process >=1.4 && <1.7' 'binary >=0.8 && <0.9' \
- 'haskell-src-exts-any' 'pretty -any' 'hint >=0.7.0 && <0.8.0' 'temporary -any' \
- 'exceptions -any' 'text -any' 'simple-logger -any' 'megaparsec -any' \
- 'hspec -any' 'QuickCheck-any' --avoid-reinstalls
