-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathdocker-compose.yml
62 lines (62 loc) · 2.04 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
version: '3'
services:
build-ubuntu18:
build:
context: .
dockerfile: docker/Dockerfile.ubuntu18 # Use the Ubuntu18.04
environment:
- VERSION=${VERSION}
working_dir: /workspace
volumes:
- .:/workspace # Mount the project root directory to the container
command: bash command/build_linux_ubuntu18.sh
build-cross-rv1109rv1126-armhf:
build:
context: .
dockerfile: docker/Dockerfile.arm-linux-gnueabihf # Use the arm-linux-gnueabihf tool chain
environment:
- VERSION=${VERSION}
working_dir: /workspace
volumes:
- .:/workspace # Mount the project root directory to the container
command: bash command/build_cross_rv1109rv1126_armhf.sh
build-cross-armv7-armhf:
build:
context: .
dockerfile: docker/Dockerfile.arm-linux-gnueabihf # Use the arm-linux-gnueabihf tool chain
environment:
- VERSION=${VERSION}
working_dir: /workspace
volumes:
- .:/workspace # Mount the project root directory to the container
command: bash command/build_cross_armv7_armhf.sh
build-cross-aarch64:
build:
context: .
dockerfile: docker/Dockerfile.arm-linux-aarch64 # Use the arm-linux-gnueabihf tool chain
environment:
- VERSION=${VERSION}
working_dir: /workspace
volumes:
- .:/workspace # Mount the project root directory to the container
command: bash command/build_cross_aarch64.sh
build-cross-android:
build:
context: .
dockerfile: docker/Dockerfile.android # Use the arm-linux-gnueabihf tool chain
environment:
- VERSION=${VERSION}
working_dir: /workspace
volumes:
- .:/workspace # Mount the project root directory to the container
command: bash command/build_android.sh
build-cuda-ubuntu20:
build:
context: .
dockerfile: docker/Dockerfile.cuda.ubuntu20
environment:
- VERSION=${VERSION}
working_dir: /workspace
volumes:
- .:/workspace # Mount the project root directory to the container
command: bash command/build_linux_cuda.sh