This commit is contained in:
parent
b6da5e124d
commit
c3daaace08
2 changed files with 28 additions and 16 deletions
21
Dockerfile
Normal file
21
Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM almalinux:9 as installer
|
||||
|
||||
RUN dnf -y install dnf-plugin-config-manager \
|
||||
&& dnf config-manager --set-enabled crb \
|
||||
&& dnf -y install epel-release
|
||||
RUN dnf install \
|
||||
--installroot /fakeroot \
|
||||
--releasever 9 \
|
||||
--setopt install_weak_deps=false \
|
||||
--nodocs -y \
|
||||
nodejs npm git-tools \
|
||||
&& 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
|
||||
|
||||
|
||||
FROM scratch
|
||||
COPY --from=installer /fakeroot /
|
||||
RUN npm install -g pnpm \
|
||||
&& npm cache clean --force
|
Loading…
Add table
Add a link
Reference in a new issue