From 2d7d593f982b3c89eb64e1f100717b60a2de228b Mon Sep 17 00:00:00 2001 From: MacOS Date: Mon, 27 Jul 2026 10:35:06 +0200 Subject: [PATCH 1/3] docs(Dockerfile): pin MathJax install with commit hash --- docs/.docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/.docker/Dockerfile b/docs/.docker/Dockerfile index 01666abe..30ed6917 100644 --- a/docs/.docker/Dockerfile +++ b/docs/.docker/Dockerfile @@ -83,8 +83,9 @@ RUN mkdir -p /opt/antora-ui \ # Pre-download MathJax es5 for offline LaTeX. Copy /opt/mathjax/es5 into a # supplemental UI or reference it from your UI template for client-side math. +# MathJax 0bfa580685ca72e4a3a37657ccd754a65c1a42c6: v4.1.3 RUN mkdir -p /opt/mathjax \ - && npm pack mathjax@3 --pack-destination /tmp \ + && npm pack git+https://github.com/mathjax/MathJax.git#0bfa580685ca72e4a3a37657ccd754a65c1a42c6 --pack-destination /tmp \ && tar -xzf /tmp/mathjax-*.tgz -C /tmp \ && cp -r /tmp/package/es5 /opt/mathjax/es5 \ && rm -rf /tmp/mathjax-* /tmp/package From 5efe6662c01357e791e040fa5ac9bc258ecf0507 Mon Sep 17 00:00:00 2001 From: MacOS Date: Mon, 27 Jul 2026 11:21:40 +0200 Subject: [PATCH 2/3] fix(Dockerfile): pin MathJax install to version 3.2.2 --- docs/.docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.docker/Dockerfile b/docs/.docker/Dockerfile index 30ed6917..b03e5593 100644 --- a/docs/.docker/Dockerfile +++ b/docs/.docker/Dockerfile @@ -83,9 +83,9 @@ RUN mkdir -p /opt/antora-ui \ # Pre-download MathJax es5 for offline LaTeX. Copy /opt/mathjax/es5 into a # supplemental UI or reference it from your UI template for client-side math. -# MathJax 0bfa580685ca72e4a3a37657ccd754a65c1a42c6: v4.1.3 +# MathJax 600692ad9d3552cc25f85510d5797bc942ecc9f7: v3.2.2 RUN mkdir -p /opt/mathjax \ - && npm pack git+https://github.com/mathjax/MathJax.git#0bfa580685ca72e4a3a37657ccd754a65c1a42c6 --pack-destination /tmp \ + && npm pack git+https://github.com/mathjax/MathJax.git#600692ad9d3552cc25f85510d5797bc942ecc9f7 --pack-destination /tmp \ && tar -xzf /tmp/mathjax-*.tgz -C /tmp \ && cp -r /tmp/package/es5 /opt/mathjax/es5 \ && rm -rf /tmp/mathjax-* /tmp/package From 4016f56db7ef9b180ec698424d2071648b6fc9f1 Mon Sep 17 00:00:00 2001 From: MacOS Date: Mon, 27 Jul 2026 13:10:06 +0200 Subject: [PATCH 3/3] fix(Dockerfile): npm error by replacing long commit hash with short form --- docs/.docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.docker/Dockerfile b/docs/.docker/Dockerfile index b03e5593..afee0d1a 100644 --- a/docs/.docker/Dockerfile +++ b/docs/.docker/Dockerfile @@ -83,9 +83,9 @@ RUN mkdir -p /opt/antora-ui \ # Pre-download MathJax es5 for offline LaTeX. Copy /opt/mathjax/es5 into a # supplemental UI or reference it from your UI template for client-side math. -# MathJax 600692ad9d3552cc25f85510d5797bc942ecc9f7: v3.2.2 +# MathJax 600692ad9d3552cc25f85510d5797bc942ecc9f7 (600692a): v3.2.2 RUN mkdir -p /opt/mathjax \ - && npm pack git+https://github.com/mathjax/MathJax.git#600692ad9d3552cc25f85510d5797bc942ecc9f7 --pack-destination /tmp \ + && npm pack git+https://github.com/mathjax/MathJax.git#600692a --pack-destination /tmp \ && tar -xzf /tmp/mathjax-*.tgz -C /tmp \ && cp -r /tmp/package/es5 /opt/mathjax/es5 \ && rm -rf /tmp/mathjax-* /tmp/package