forked from acidanthera/OpenCorePkg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
45 lines (45 loc) · 1.31 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
name: oc
services:
dev-edk2:
build:
context: Dockerfiles/oc-dev-edk2
tags:
- "oc-dev-edk2"
dev-docs:
build:
context: Dockerfiles/oc-dev-docs
tags:
- "oc-dev-docs"
build-oc:
depends_on:
- dev-edk2
image: oc-dev-edk2
volumes:
- .:/com.docker.devenvironments.code
working_dir: /com.docker.devenvironments.code
entrypoint:
- /bin/bash
- -c
- "{ . ~/.edk2_rc.sh && eval \"$$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh)\" && ./build_oc.tool ; } || exit 1"
build-duet:
depends_on:
- dev-edk2
image: oc-dev-edk2
volumes:
- .:/com.docker.devenvironments.code
working_dir: /com.docker.devenvironments.code
entrypoint:
- /bin/bash
- -c
- "{ . ~/.edk2_rc.sh && eval \"$$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh)\" && ./build_duet.tool ; } || exit 1"
build-docs:
depends_on:
- dev-docs
image: oc-dev-docs
volumes:
- .:/com.docker.devenvironments.code
working_dir: /com.docker.devenvironments.code
entrypoint:
- /bin/bash
- -c
- "{ doxygen Doxyfile &> log.txt && cd Doxy/latex && make pdf &> log.txt ; } || { tail -200 log.txt ; exit 1 ; }"