-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (14 loc) · 794 Bytes
/
Dockerfile
File metadata and controls
18 lines (14 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM docker.io/antora/antora:3.1.14
# We have yarn.tar.gz with all these deps
# This was needed because javascript dependencies tend to rot with time
# So we have static deps that works for this specific antora version
COPY ./yarn.tar.gz /usr/local/share/.config/yarn/global
RUN tar -xzvf /usr/local/share/.config/yarn/global/yarn.tar.gz -C /usr/local/share/.config/yarn/global
RUN rm /usr/local/share/.config/yarn/global/yarn.tar.gz
# Update to the same antora version
#RUN yarn global add @antora/cli@3.1.14 @antora/site-generator@3.1.14
# You can install deps manually if you want
#RUN yarn global add asciidoctor-kroki@0.18.1
#RUN yarn global add asciidoctor-emoji@0.5.0
#RUN yarn global add @antora/lunr-extension@1.0.0-alpha.10
#RUN yarn global add @djencks/asciidoctor-mathjax@0.0.9