Add changelog file
[cabal.git] / .docker / validate-8.0.2.dockerfile
blobaab9315c692c1f1c6b5fa6934650905111a59cd6
1 FROM    phadej/ghc:8.0.2-bionic
3 # Install cabal-plan
4 RUN     mkdir -p /root/.cabal/bin && \
5         curl -L https://github.com/haskell-hvr/cabal-plan/releases/download/v0.6.2.0/cabal-plan-0.6.2.0-x86_64-linux.xz > cabal-plan.xz && \
6         echo "de73600b1836d3f55e32d80385acc055fd97f60eaa0ab68a755302685f5d81bc  cabal-plan.xz" | sha256sum -c - && \
7         xz -d < cabal-plan.xz > /root/.cabal/bin/cabal-plan && \
8         rm -f cabal-plan.xz && \
9         chmod a+x /root/.cabal/bin/cabal-plan
12 # Update index
13 RUN     cabal v2-update --index-state="2020-06-12T23:36:15Z"
15 # We install happy, so it's in the store; we (hopefully) don't use it directly.
16 RUN     cabal v2-install happy --constraint 'happy ^>=1.19.12'
18 # Install some other dependencies
19 # Remove $HOME/.ghc so there aren't any environments
20 RUN     cabal v2-install -w ghc-8.0.2 --lib \
21           Cabal \
22           aeson \
23           async \
24           base-compat \
25           base16-bytestring \
26           base64-bytestring \
27           cryptohash-sha256 \
28           Diff \
29           echo \
30           ed25519 \
31           edit-distance \
32           HTTP \
33           lukko \
34           network \
35           optparse-applicative \
36           pretty-show \
37           regex-compat-tdfa \
38           regex-posix \
39           regex-tdfa \
40           rere \
41           statistics \
42           tar \
43           tasty \
44           tasty-golden \
45           tasty-hunit \
46           tasty-quickcheck \
47           tree-diff \
48           void \
49           zlib \
50           resolv \
51       --constraint="rere -rere-cfg" \
52       --constraint="these -assoc" \
53       --constraint="bytestring installed" \
54       --constraint="binary     installed" \
55       --constraint="containers installed" \
56       --constraint="deepseq    installed" \
57       --constraint="directory  installed" \
58       --constraint="filepath   installed" \
59       --constraint="pretty     installed" \
60       --constraint="process    installed" \
61       --constraint="time       installed" \
62       --constraint="unix       installed" \
63       --constraint="transformers installed" \
64         && rm -rf $HOME/.ghc
66 # Validate
67 WORKDIR /build
68 COPY    . /build
69 RUN     sh ./validate.sh  -w ghc-8.0.2 -v