Skip to content

Commit 0458c61

Browse files
committed
build(deps): workaround for chktex and lacheck patch version on arm64 only
1 parent 227f2b7 commit 0458c61

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

latex/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,18 @@ ENV DEBIAN_FRONTEND=noninteractive
1515

1616
RUN apt-get update \
1717
&& apt-get upgrade -y \
18+
# FIXME @TL workaround for amd64 vs arm64 versions
19+
&& if [ "$(\uname -m)" = 'aarch64' ]; then \
20+
SUFFIX='+b1' ; \
21+
fi \
1822
&& apt-get install --no-install-recommends -y \
1923
adduser=3.152 \
2024
biber=2.20-2 \
21-
chktex=1.7.9-1 \
25+
chktex=1.7.9-1${SUFFIX} \
2226
curl=8.14.1-2 \
2327
ghostscript=10.05.1~dfsg-1 \
2428
git=1:2.47.2-0.2 \
25-
lacheck=1.26-17.1 \
29+
lacheck=1.26-17.1${SUFFIX} \
2630
latex-make=2.4.3-1 \
2731
latex-mk=2.1-6 \
2832
latexmk=1:4.86~ds-1 \

0 commit comments

Comments
 (0)