forked from shalxmva/modxo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (42 loc) · 863 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (42 loc) · 863 Bytes
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
services:
builder:
profiles: [ "builder" ]
image: modxo-builder:latest
build:
context: .
dockerfile: Dockerfile
working_dir: /home/dev
volumes:
- .:/home/dev
environment:
- WS2812_LED
- CLEAN
- BUILD_TYPE
- BIOS2UF2
command: [ "/home/dev/tools/dockerbuild.sh" ]
bios2uf2:
profiles: [ "bios2uf2" ]
image: modxo-builder:latest
build:
context: .
dockerfile: Dockerfile
working_dir: /home/dev
volumes:
- .:/home/dev
command:
[
"python",
"tools/flashbin_to_uf2.py",
"--output-dir",
"/home/dev/out",
"bios.bin",
"bios/*.bin"
]
dev:
image: modxo-builder:latest
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/home/dev
command: [ "sleep", "infinity" ]