Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions docs/.docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,18 @@
# asciidoctor-kroki: d02fbf06cdb837524f5e4e12537c05e0bb83c715 -> v0.18
WORKDIR /opt/antora
RUN npm init -y && npm i --save-exact \
https://gitlab.com/antora/antora/-/tree/aa33c8283f9cbc76df93201bec5f8421e8f59a43/packages/cli \
https://gitlab.com/antora/antora/-/tree/aa33c8283f9cbc76df93201bec5f8421e8f59a43/packages/site-generator \
https://gitlab.com/antora/antora-lunr-extension/-/commit/41975fc8f62cb2219a2de2f618de1ae1482bd0ce \
https://github.com/mermaid-js/mermaid-cli/tree/a85b11df7064498d5b6b97ee9b2d4a7c10cb42ae \
https://gitlab.com/antora/antora-lunr-extension.git#41975fc8f62cb2219a2de2f618de1ae1482bd0ce \
https://github.com/mermaid-js/mermaid-cli.git#a85b11df7064498d5b6b97ee9b2d4a7c10cb42ae \
https://github.com/asciidoctor/asciidoctor-kroki.git#d02fbf06cdb837524f5e4e12537c05e0bb83c715 \
Comment on lines 55 to 58
&& npm cache clean --force

RUN git clone https://gitlab.com/antora/antora.git \
&& cd antora \
&& git checkout aa33c8283f9cbc76df93201bec5f8421e8f59a43 \
&& npm install --save-exact packages/cli \
&& npm install --save-exact packages/site-generator

# Make installed modules resolvable even when the workdir is the mounted

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium documentation

score is 7: npmCommand not pinned by hash
Click Remediation section below to solve this issue

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium documentation

score is 7: npmCommand not pinned by hash
Click Remediation section below to solve this issue
# project (which has no node_modules of its own).
ENV NODE_PATH=/opt/antora/node_modules

Expand Down
Loading