File: docker-compose.yml

package info (click to toggle)
ghc 9.10.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 168,924 kB
  • sloc: haskell: 713,548; ansic: 84,223; cpp: 30,255; javascript: 9,003; sh: 7,870; fortran: 3,527; python: 3,228; asm: 2,523; makefile: 2,326; yacc: 1,570; lisp: 532; xml: 196; perl: 111; csh: 2
file content (90 lines) | stat: -rw-r--r-- 1,741 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Run tests on multiple ghc versions.
#
# Dependencies are cached between runs in the cabal-store-cache volume.
#
# To launch tests:
#
#  $ docker-compose up -d
#
# To check on their status:
#
#  $ docker-compose ps
#
# To read logs from a build:
#
#  $ docker-compose logs binary_binary_ghc842
#
# To cancel or clean up when finished:
#  
#  $ docker-compose down
#  $ docker volume rm cabal-store-cache
#

version: '3'
services:
  binary_ghc865:
    build:
      context: .
      dockerfile: docker/Dockerfile.anyghc
      args:
       - ghcver=8.6.5
    volumes:
     - cabal-store-cache:/root/.cabal/store

  binary_ghc844:
    build:
      context: .
      dockerfile: docker/Dockerfile.anyghc
      args:
       - ghcver=8.4.4
    volumes:
     - cabal-store-cache:/root/.cabal/store

  binary_ghc822:
    build:
      context: .
      dockerfile: docker/Dockerfile.anyghc
      args:
       - ghcver=8.2.2
    volumes:
     - cabal-store-cache:/root/.cabal/store

  binary_ghc802:
    build:
      context: .
      dockerfile: docker/Dockerfile.anyghc
      args:
       - ghcver=8.0.2
    volumes:
     - cabal-store-cache:/root/.cabal/store

  binary_ghc7103:
    build:
      context: .
      dockerfile: docker/Dockerfile.anyghc
      args:
       - ghcver=7.10.3
    volumes:
     - cabal-store-cache:/root/.cabal/store

  binary_ghc784:
    build:
      context: .
      dockerfile: docker/Dockerfile.anyghc
      args:
       - ghcver=7.8.4
    volumes:
     - cabal-store-cache:/root/.cabal/store

  binary_ghc763:
    build:
      context: .
      dockerfile: docker/Dockerfile.anyghc
      args:
       - ghcver=7.6.3
    volumes:
     - cabal-store-cache:/root/.cabal/store

volumes:
  cabal-store-cache:
    driver: local