Skip to content

Commit 75ac8e6

Browse files
fix: pin asciidoctor to 3.0.4 to fix PDF build
Asciidoctor.js 4.0.0 (released ~June 23, 2026) breaks the @antora/pdf-extension@1.0.0-beta.14 PDF generation, causing ENOENT for discover.pdf during container verification. Pin to the last known working version (3.0.4) until the pdf-extension is updated for asciidoctor 4.x compatibility. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c237be2 commit 75ac8e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RUN set -x \
8888
&& npm install --no-save --global asciidoctor-kroki \
8989
&& npm install --no-save --global gulp gulp-cli gulp-connect \
9090
&& npm install --no-save --global js-yaml \
91-
&& npm install --no-save --global asciidoctor \
91+
&& npm install --no-save --global asciidoctor@3.0.4 \
9292
&& which antora \
9393
&& antora --version \
9494
&& rm /tmp/* --recursive --force

0 commit comments

Comments
 (0)