generated from baldir-fr/template-asciidoctor-dockerized
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (53 loc) · 1.18 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
version: "3.8"
services:
deno-test:
image: "denoland/deno:alpine"
working_dir: "/app"
volumes:
- "./:/app"
command: "deno test"
build-slides:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor-revealjs"
- "-a"
- "revealjsdir=https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.9.2"
- "_content/index.adoc"
- "-o"
- "docs/index.html"
build-pdf:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor-pdf"
- "_content/index.adoc"
- "-o"
- "docs/output.pdf"
build-epub:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor-epub3"
- "_content/index.adoc"
- "-o"
- "docs/output.epub"
build-docbook:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor"
- "-b"
- "docbook"
- "_content/index.adoc"
- "-o"
- "docs/output.docbook.xml"
build-docx:
image: "pandoc/core"
volumes:
- ./:/data/
entrypoint: "./generate-docx.sh"