All checks were successful
Build and Push Docker Image / build (push) Successful in 3m29s
26 lines
1.0 KiB
Docker
26 lines
1.0 KiB
Docker
FROM docker.io/pandoc/latex:3-debian
|
|
|
|
USER root
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
RUN apt-get update
|
|
RUN apt-get upgrade -y
|
|
RUN apt-get install curl gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libnss3 lsb-release xdg-utils wget -y
|
|
RUN apt-get clean
|
|
RUN rm -rf /var/lib/apt/lists/*
|
|
RUN useradd -m runner
|
|
|
|
USER runner
|
|
|
|
ENV NVM_DIR /home/runner/.nvm
|
|
ENV NODE_VERSION 24.15.0
|
|
|
|
RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash \
|
|
&& . $NVM_DIR/nvm.sh \
|
|
&& npm install -g @mermaid-js/mermaid-cli
|
|
|
|
ENV NODE_PATH $NVM_DIR/versions/node/v$NODE_VERSION/lib/node_modules
|
|
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
|
|
|
|
ENTRYPOINT ["/usr/local/bin/pandoc"] |