-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
78 lines (69 loc) · 1.8 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
77
78
version: '3'
services:
m68k_base_service:
image: m68k_base
build:
context: .
dockerfile: Dockerfile
m68k_clang_service:
depends_on:
- m68k_base_service
image: m68k_base
volumes:
- ./llvm-project:/root/llvm-project
- llvm-install:/usr/local
command: ["/bin/bash", "-c", "/m68k-clang-install.sh"]
m68k_compile_service:
depends_on:
- m68k_clang_service
image: m68k_base
volumes:
- ./llvm-project:/root/llvm-project
- llvm-install:/usr/local
# command: ["ls", "/bin"]
command: ["/bin/bash", "-c", "/m68k-compile-test.sh"]
m68k_rust_deps_service:
depends_on:
- m68k_base_service
image: m68k_base
volumes:
- ./rust:/root/rust
- llvm-install:/usr/local
command: ["/bin/bash", "-c", "/m68k-rust-setup.sh"]
m68k_rust_service:
depends_on:
- m68k_rust_deps_service
image: m68k_base
volumes:
- ./rust:/root/rust
- llvm-install:/usr/local
command: ["/bin/bash", "-c", "/m68k-rust-build.sh"]
m68k_rust_test_service:
depends_on:
- m68k_rust_service
image: m68k_base
volumes:
- ./rust:/root/rust
- llvm-install:/usr/local
- ./rustc_smoketest:/tmp/rustc_smoketest
command: ["/bin/bash", "-c", "/m68k-rustc-smoketest.sh"]
m68k_outer_bash:
depends_on:
- m68k_rust_deps_service
image: m68k_base
volumes:
- ./llvm-project:/root/llvm-project
- ./rust:/root/rust
- llvm-install:/usr/local
command: ["/bin/bash"]
m68k_inner_bash:
depends_on:
- m68k_rust_deps_service
image: m68k_base
volumes:
- ./llvm-project:/root/llvm-project
- ./rust:/root/rust
- llvm-install:/usr/local
command: ["chroot", "/sid-m68k-sbuild", "/bin/bash"]
volumes:
llvm-install: