@@ -12,6 +12,7 @@ ARG asciidoctor_revealjs_version=4.1.0
12
12
ARG kramdown_asciidoc_version=2.0.0
13
13
ARG asciidoctor_bibtex_version=0.8.0
14
14
ARG asciidoctor_kroki_version=0.5.0
15
+ ARG asciidoctor_web_pdf_version=v1.0.0-alpha.14
15
16
16
17
ENV ASCIIDOCTOR_VERSION=${asciidoctor_version} \
17
18
ASCIIDOCTOR_CONFLUENCE_VERSION=${asciidoctor_confluence_version} \
@@ -23,7 +24,8 @@ ENV ASCIIDOCTOR_VERSION=${asciidoctor_version} \
23
24
ASCIIDOCTOR_REVEALJS_VERSION=${asciidoctor_revealjs_version} \
24
25
KRAMDOWN_ASCIIDOC_VERSION=${kramdown_asciidoc_version} \
25
26
ASCIIDOCTOR_BIBTEX_VERSION=${asciidoctor_bibtex_version} \
26
- ASCIIDOCTOR_KROKI_VERSION=${asciidoctor_kroki_version}
27
+ ASCIIDOCTOR_KROKI_VERSION=${asciidoctor_kroki_version} \
28
+ ASCIIDOCTOR_WEB_PDF_VERSION=${asciidoctor_web_pdf_version}
27
29
28
30
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
29
31
# Minimal image with asciidoctor
@@ -100,7 +102,8 @@ RUN apk add --no-cache \
100
102
tzdata \
101
103
unzip \
102
104
which \
103
- font-noto-cjk
105
+ font-noto-cjk \
106
+ nodejs
104
107
105
108
# Installing Ruby Gems for additional functionality
106
109
RUN apk add --no-cache --virtual .rubymakedepends \
@@ -142,6 +145,9 @@ RUN apk add --no-cache --virtual .pythonmakedepends \
142
145
seqdiag \
143
146
&& apk del -r --no-cache .pythonmakedepends
144
147
148
+ # Installing Nodejs dependencies for additional functionality
149
+ RUN npm install --global @asciidoctor/core asciidoctor-pdf
150
+
145
151
COPY --from=build-haskell root/.cabal/bin/erd /bin/
146
152
147
153
WORKDIR /documents
0 commit comments