File: docker-compose.yml

package info (click to toggle)
ghc 9.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 177,780 kB
  • sloc: haskell: 494,441; ansic: 70,262; javascript: 9,423; sh: 8,537; python: 2,646; asm: 1,725; makefile: 1,333; xml: 196; cpp: 167; perl: 143; ruby: 84; lisp: 7
file content (90 lines) | stat: -rw-r--r-- 1,741 bytes parent folder | download | duplicates (5)
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