forked from ForzaETH/race_stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
62 lines (57 loc) · 1.89 KB
/
docker-compose.yaml
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
version: "3.8"
services:
base_arm:
build:
context: .
dockerfile: .docker_utils/Dockerfile.base_arm
image: base_arm
sim_arm:
build:
context: .
dockerfile: .docker_utils/Dockerfile.sim_arm
args:
- USER=${USER}
- UID=${UID} # user id must be saved to an environment variable, can be done with `export UID=$(id -u)`
- GID=${GID} # group id must be saved to an environment variable, can be done with `export GID=$(id -g)`
image: race_stack_sim_arm
depends_on:
- base_arm
jet:
build:
context: .
dockerfile: .docker_utils/Dockerfile.jet
args:
- USER=${USER}
- UID=${UID} # user id must be saved to an environment variable, can be done with `export UID=$(id -u)`
- GID=${GID} # group id must be saved to an environment variable, can be done with `export GID=$(id -g)`
image: race_stack_jet
depends_on:
- base_arm
base_x86:
build:
context: .
dockerfile: .docker_utils/Dockerfile.base_x86
image: base_x86
sim_x86:
build:
context: .
dockerfile: .docker_utils/Dockerfile.sim_x86
args:
- USER=${USER}
- UID=${UID} # user id must be saved to an environment variable, can be done with `export UID=$(id -u)`
- GID=${GID} # group id must be saved to an environment variable, can be done with `export GID=$(id -g)`
image: race_stack_sim_x86
# container_name: race_stack_sim_x86
depends_on:
- base_x86
nuc:
build:
context: .
dockerfile: .docker_utils/Dockerfile.nuc
args:
- USER=${USER}
- UID=${UID} # user id must be saved to an environment variable, can be done with `export UID=$(id -u)`
- GID=${GID} # group id must be saved to an environment variable, can be done with `export GID=$(id -g)`
image: race_stack_nuc
depends_on:
- base_x86