Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tssge committed Nov 13, 2023
1 parent 456dca5 commit 8a8f21f
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
FROM pandoc/latex:2.13
FROM pandoc/latex:edge-alpine

WORKDIR /action/workspace

RUN apk add --update npm bash gmp-dev librsvg-dev
RUN npm install -g [email protected] --unsafe-perm=true
ENV CHROME_BIN="/usr/bin/chromium-browser" \
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"

RUN set -x \
&& apk update \
&& apk upgrade \
\
# Add the packages
&& apk add --no-cache dumb-init curl make gcc g++ python3 linux-headers binutils-gold gnupg libstdc++ nss chromium \
npm bash git \
&& npm install -puppeteer chromium https://github.com/drnachio/mermaid-filter-docker-ready --unsafe-perm=true \
\
# Do some cleanup
&& apk del --no-cache make gcc g++ python3 binutils-gold gnupg libstdc++ \
&& rm -rf /usr/include \
&& rm -rf /var/cache/apk/* /root/.node-gyp /usr/share/man /tmp/* \
&& echo

ENTRYPOINT ["pandoc", "-F", "mermaid-filter", "-o"]

0 comments on commit 8a8f21f

Please sign in to comment.