thibaud frere
commited on
Commit
·
9011170
1
Parent(s):
ea528dc
fix: installer Pandoc 3.8 depuis GitHub au lieu d'apt
Browse files- Apt installe une version ancienne qui ne supporte pas tex_math_dollars+gfm
- Téléchargement direct de Pandoc 3.8 depuis GitHub releases
- Compatible avec la conversion LaTeX → MDX
- Dockerfile +8 -2
Dockerfile
CHANGED
|
@@ -2,8 +2,14 @@
|
|
| 2 |
# Build with Playwright (browsers and deps ready)
|
| 3 |
FROM mcr.microsoft.com/playwright:v1.55.0-jammy AS build
|
| 4 |
|
| 5 |
-
# Install git, git-lfs, and
|
| 6 |
-
RUN apt-get update && apt-get install -y git git-lfs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
# Set the working directory in the container
|
| 9 |
WORKDIR /workspace
|
|
|
|
| 2 |
# Build with Playwright (browsers and deps ready)
|
| 3 |
FROM mcr.microsoft.com/playwright:v1.55.0-jammy AS build
|
| 4 |
|
| 5 |
+
# Install git, git-lfs, and dependencies for Pandoc
|
| 6 |
+
RUN apt-get update && apt-get install -y git git-lfs wget && apt-get clean
|
| 7 |
+
|
| 8 |
+
# Install latest Pandoc from GitHub releases (not apt which is outdated)
|
| 9 |
+
RUN wget -qO- https://github.com/jgm/pandoc/releases/download/3.8/pandoc-3.8-linux-amd64.tar.gz | tar xzf - -C /tmp && \
|
| 10 |
+
cp /tmp/pandoc-3.8/bin/pandoc /usr/local/bin/ && \
|
| 11 |
+
cp /tmp/pandoc-3.8/bin/pandoc-lua /usr/local/bin/ && \
|
| 12 |
+
rm -rf /tmp/pandoc-3.8
|
| 13 |
|
| 14 |
# Set the working directory in the container
|
| 15 |
WORKDIR /workspace
|