File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM docker.io/antora/antora
1+ FROM docker.io/antora/antora:3.1.12
22
3- RUN yarn global add asciidoctor-kroki
4- RUN yarn global add asciidoctor-emoji
5- RUN yarn global add @antora/lunr-extension
6- RUN yarn global add @djencks/asciidoctor-mathjax
3+ # We have yarn.tar.gz with all these deps
4+ # This was needed because javascript dependencies tend to rot with time
5+ # So we have static deps that works for this specific antora version
6+
7+ COPY ./yarn.tar.gz /usr/local/share/.config/yarn/global
8+ RUN tar -xzvf /usr/local/share/.config/yarn/global/yarn.tar.gz -C /usr/local/share/.config/yarn/global
9+
10+ # You can install deps manually if you want
11+ # RUN yarn global add asciidoctor-kroki@0.18.1
12+ # RUN yarn global add asciidoctor-emoji@0.5.0
13+ # RUN yarn global add @antora/lunr-extension@1.0.0-alpha.10
14+ # RUN yarn global add @djencks/asciidoctor-mathjax@0.0.9
You can’t perform that action at this time.
0 commit comments