-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
75 lines (64 loc) · 1.62 KB
/
Dockerfile
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
63
64
65
66
67
68
69
70
71
72
73
74
75
ARG base_image=python
FROM minidocks/python AS python
FROM minidocks/weasyprint AS weasyprint
FROM $base_image AS latest
LABEL maintainer="Martin Hasoň <[email protected]>"
RUN apk add -u py3-lxml py3-beautifulsoup4 py3-ruamel.yaml && clean
ARG version=5.1.1
RUN pip install \
sphinx=="$version" \
\
sphinx-autobuild \
sphinx-multibuild \
\
sphinx-markdown-builder \
sphinxcontrib-confluencebuilder \
\
sphinx-comments \
sphinx-copybutton \
sphinx-design \
sphinx-inline-tabs \
sphinx-multitoc-numbering \
sphinx-multiversion \
sphinx-panels \
sphinx-prompt \
sphinx-sitemap \
sphinx-tabs \
sphinx-togglebutton \
sphinx-toolbox \
sphinxcontrib.programoutput \
\
sphinxcontrib-kroki \
sphinxcontrib-scm \
sphinxcontrib-svg2pdfconverter \
sphinxcontrib-images \
sphinxcontrib-openapi \
sphinxcontrib-programoutput \
sphinxext-opengraph \
\
furo \
Pallets-Sphinx-Themes \
sphinxawesome-theme \
sphinx-book-theme \
sphinx-documatt-theme \
sphinx-immaterial \
sphinx-material \
sphinx_press_theme \
pydata-sphinx-theme \
sphinx_rtd_theme \
\
mdformat \
mdformat-myst \
myst-parser \
linkify-it-py \
sphinx-markdown-parser \
sphinx-mdinclude \
pymdown-extensions \
&& clean
COPY rootfs /
CMD [ "sphinx-build" ]
FROM latest AS pdf
RUN apk add py3-reportlab \
&& pip install rst2pdf sphinx-business-theme sphinx-weasyprint-builder \
&& clean
FROM latest