From 67cf51da09e68f47945f30f450a6496d53bfec65 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Sun, 25 May 2025 20:24:31 -0700 Subject: [PATCH] Add latest pandoc installation to Dockerfile so we can get syntax highlighting for heex code --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 008bcbf..5f7cdc6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,11 @@ FROM openresty/openresty:1.27.1.2-0-bookworm-buildpack WORKDIR /opt/app -RUN apt-get update && apt-get install -y python3-pygments pandoc lua-inotify +RUN apt-get update && apt-get install -y \ + python3-pygments lua-inotify wget && \ + wget -q -O pandoc-3.7.0.1-1-amd64.deb https://github.com/jgm/pandoc/releases/download/3.7.0.1/pandoc-3.7.0.1-1-amd64.deb && \ + dpkg -i pandoc-3.7.0.1-1-amd64.deb && \ + rm pandoc-3.7.0.1-1-amd64.deb RUN luarocks install sitegen RUN luarocks install inotify INOTIFY_INCDIR=/usr/include/x86_64-linux-gnu/