Skip to content

Commit ec4f7ed

Browse files
committed
Don't build pandoc-crossref for edge-alpine
stack=alpine
1 parent aad0531 commit ec4f7ed

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

alpine/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ RUN find dist-newstyle \
6060
-exec strip '{}' ';' \
6161
-exec cp '{}' /usr/local/bin/ ';'
6262

63+
# Ensure the file exists
64+
RUN touch /usr/local/bin/pandoc-crossref
65+
6366
# Minimal ###############################################################
6467
FROM alpine:$base_image_version AS alpine-minimal
6568
ARG pandoc_version=edge

build.sh

+4
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ without_crossref=
132132
if [ "$stack" = "static" ]; then
133133
extra_packages=
134134
without_crossref=true
135+
elif [ "$stack" = "alpine" ] && [ "$pandoc_commit" = "main" ]; then
136+
# There's some kind of issue with pandoc-crossref on Alpine
137+
extra_packages=
138+
without_crossref=true
135139
fi
136140

137141
## The pandoc-cli package did not exist pre pandoc 3.

0 commit comments

Comments
 (0)