docker-node-pandoc/Dockerfile

12 lines
499 B
Text
Raw Normal View History

FROM almalinux:9
2023-01-09 08:59:57 +08:00
RUN dnf -y install dnf-plugin-config-manager \
&& dnf config-manager --set-enabled crb \
&& dnf -y install epel-release \
2023-11-30 21:53:33 +08:00
&& dnf -y install nodejs git-tools \
2023-11-29 15:20:28 +08:00
&& dnf clean all
2023-11-30 21:53:33 +08:00
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
2023-11-29 15:17:16 +08:00
RUN npm install -g pnpm