升级版本:nodejs 22+pandoc 3.6.3

This commit is contained in:
zhbaor 2025-03-06 20:46:41 +08:00
parent eba45c3a9d
commit 9f63c673d0

View file

@ -8,11 +8,17 @@ RUN dnf install \
--releasever 9 \
--setopt install_weak_deps=false \
--nodocs -y \
nodejs npm git-tools \
git-tools \
&& dnf module install \
--installroot /fakeroot \
--releasever 9 \
--setopt install_weak_deps=false \
--nodocs -y \
nodejs:22 \
&& dnf clean all --installroot /fakeroot
RUN curl -L -o pandoc-3.1.9.tar.gz https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-linux-amd64.tar.gz \
&& tar -xvf pandoc-3.1.9.tar.gz \
&& cp pandoc-3.1.9/bin/pandoc /fakeroot/usr/local/bin/pandoc
RUN curl -L -o pandoc.tar.gz https://github.com/jgm/pandoc/releases/download/3.6.3/pandoc-3.6.3-linux-amd64.tar.gz \
&& tar -xvf pandoc.tar.gz \
&& cp pandoc*/bin/pandoc /fakeroot/usr/local/bin/pandoc
FROM scratch