安装pandoc 3.1.9
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Zhao Zuohong 2023-11-30 21:53:33 +08:00
parent 4f2e7bb256
commit 9f6de4d1e9
1 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,10 @@ FROM almalinux:9
RUN dnf -y install dnf-plugin-config-manager \
&& dnf config-manager --set-enabled crb \
&& dnf -y install epel-release \
&& dnf -y install nodejs git-tools pandoc \
&& dnf -y install nodejs git-tools \
&& dnf clean all
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 \
&& mv pandoc-3.1.9/bin/pandoc /usr/local/bin/pandoc \
&& rm -rf pandoc-3.1.9 pandoc-3.1.9.tar.gz
RUN npm install -g pnpm