Skip to content

Commit 9b58ab1

Browse files
committed
TSD-6511: pin techdocs and mermaid-js versions to fix node 18 issue
1 parent f145e35 commit 9b58ab1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ RUN apk add --no-cache bash py3-pip chromium && \
1414
pip install --no-cache markdown-inline-mermaid && \
1515
deactivate
1616

17-
RUN npm install -g @techdocs/cli @mermaid-js/mermaid-cli
17+
# keep Node 18 and install versions that are compatible with it
18+
RUN npm install -g @techdocs/cli@1.9.5 @mermaid-js/mermaid-cli@10.9.1
1819

1920
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
2021
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser

0 commit comments

Comments
 (0)