Skip to content

Commit 9147e1d

Browse files
committed
fixed docker
1 parent 2c58a15 commit 9147e1d

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

Dockerfile

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
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

yarn.tar.gz

15.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)