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