-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
76 lines (72 loc) · 2.6 KB
/
docker-compose.yml
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
version: '3.8'
services:
centos-8-2:
image: kkyfury/centos-8-2-modified:v1
build:
context: .
dockerfile: .gitlab/ci/images/centos-8-2.Dockerfile
# List individual subdirectories to avoid sharing cargo's target/ build cache between images
# This allows multiple containers to run 'cargo build' at the same time
volumes:
- ./.cargo/:/s/.cargo
- ./config/:/s/config
- ./examples/:/s/examples
- ./src/:/s/src
- ./tests/src/:/s/tests/src
- ./tests/CMakeLists.txt:/s/tests/CMakeLists.txt
- ./tests/wasi-cmake.sh:/s/tests/wasi-cmake.sh
- ./Cargo.lock/:/s/Cargo.lock
- ./Cargo.toml/:/s/Cargo.toml
working_dir: /s
opensuse-15-1:
image: kkyfury/opensuse-15-1-modified:v2
build:
context: .
dockerfile: .gitlab/ci/images/opensuse-15-1-v2.Dockerfile
# List individual subdirectories to avoid sharing cargo's target/ build cache between images
# This allows multiple containers to run 'cargo build' at the same time
volumes:
- ./.cargo/:/s/.cargo
- ./config/:/s/config
- ./examples/:/s/examples
- ./src/:/s/src
- ./tests/src/:/s/tests/src
- ./tests/CMakeLists.txt:/s/tests/CMakeLists.txt
- ./tests/wasi-cmake.sh:/s/tests/wasi-cmake.sh
- ./Cargo.lock/:/s/Cargo.lock
- ./Cargo.toml/:/s/Cargo.toml
working_dir: /s
ubuntu-20-04:
image: kkyfury/ubuntumodifiedbase:v1
build:
context: .
dockerfile: .gitlab/ci/images/ubuntu-20-04.Dockerfile
# List individual subdirectories to avoid sharing cargo's target/ build cache between images
# This allows multiple containers to run 'cargo build' at the same time
volumes:
- ./.cargo/:/s/.cargo
- ./config/:/s/config
- ./examples/:/s/examples
- ./src/:/s/src
- ./tests/src/:/s/tests/src
- ./tests/CMakeLists.txt:/s/tests/CMakeLists.txt
- ./tests/wasi-cmake.sh:/s/tests/wasi-cmake.sh
- ./Cargo.lock/:/s/Cargo.lock
- ./Cargo.toml/:/s/Cargo.toml
working_dir: /s
macos-monterey:
image: kkyfury/macosmodified:v1
build:
context: .
dockerfile: .gitlab/ci/images/osx-monterey.Dockerfile
volumes:
- ./.cargo/:/home/arch/s/.cargo
- ./config/:/home/arch/s/config
- ./examples/:/home/arch/s/examples
- ./src/:/home/arch/s/src
- ./tests/src/:/home/arch/s/tests/src
- ./tests/CMakeLists.txt:/home/arch/s/tests/CMakeLists.txt
- ./tests/wasi-cmake.sh:/home/arch/s/tests/wasi-cmake.sh
- ./Cargo.lock/:/home/arch/s/Cargo.lock
- ./Cargo.toml/:/home/arch/s/Cargo.toml
working_dir: /home/arch/s