docker-node-pandoc/Dockerfile
Zhao Zuohong 9f6de4d1e9
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
安装pandoc 3.1.9
2023-11-30 21:53:33 +08:00

11 lines
499 B
Docker

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 \
&& 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