aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2025-06-12 13:29:59 +0000
committers-ol <s+removethis@s-ol.nu>2025-06-12 13:35:43 +0000
commita668ad6c7523c010b129d9c21fdf90830bcbf77b (patch)
tree2d06e4c429dc12e6577ee01fe992a7f41d2bab8d /Dockerfile
parentline comments (diff)
downloadalive-a668ad6c7523c010b129d9c21fdf90830bcbf77b.tar.gz
alive-a668ad6c7523c010b129d9c21fdf90830bcbf77b.zip
use cmark instead of discount for markdown docs
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 5 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index 38276f2..7d74062 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,12 +1,10 @@
-FROM nickblah/lua:5.3-luarocks AS build-env
+FROM nickblah/lua:5.4-luarocks-alpine AS build-env
WORKDIR /build
-RUN apt-get update && \
- apt-get install -y --allow-unauthenticated \
- build-essential m4 libmarkdown2-dev git
-RUN luarocks install discount DISCOUNT_INCDIR=/usr/include/x86_64-linux-gnu && \
- luarocks install moonscript && \
- luarocks install https://raw.githubusercontent.com/s-ol/LDoc/moonscript/ldoc-scm-2.rockspec
+RUN apk add --no-cache build-base git cmark-dev
+RUN luarocks install moonscript && \
+ luarocks install ldoc && \
+ luarocks install cmark
COPY . /build/
RUN make docs