升级版本:nodejs 22+pandoc 3.6.3
This commit is contained in:
parent
eba45c3a9d
commit
9f63c673d0
1 changed files with 10 additions and 4 deletions
14
Dockerfile
14
Dockerfile
|
@ -8,11 +8,17 @@ RUN dnf install \
|
||||||
--releasever 9 \
|
--releasever 9 \
|
||||||
--setopt install_weak_deps=false \
|
--setopt install_weak_deps=false \
|
||||||
--nodocs -y \
|
--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
|
&& 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 \
|
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-3.1.9.tar.gz \
|
&& tar -xvf pandoc.tar.gz \
|
||||||
&& cp pandoc-3.1.9/bin/pandoc /fakeroot/usr/local/bin/pandoc
|
&& cp pandoc*/bin/pandoc /fakeroot/usr/local/bin/pandoc
|
||||||
|
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
Loading…
Add table
Reference in a new issue