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 f2b3c52
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
FROM pandoc/latex:2.13
FROM pandoc/latex:edge-alpine

WORKDIR /action/workspace

RUN apk add --update npm bash gmp-dev librsvg-dev
ENV CHROME_BIN="/usr/bin/chromium-browser" \
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"

RUN set -x \
&& apk update \
&& apk upgrade \
# replacing default repositories with edge ones
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" > /etc/apk/repositories \
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
\
# Add the packages
&& apk add --no-cache dumb-init curl make gcc g++ python linux-headers binutils-gold gnupg libstdc++ nss chromium \
npm bash \
&& npm install [email protected] \
\
# Do some cleanup
&& apk del --no-cache make gcc g++ python binutils-gold gnupg libstdc++ \
&& rm -rf /usr/include \
&& rm -rf /var/cache/apk/* /root/.node-gyp /usr/share/man /tmp/* \
&& echo
RUN npm install -g [email protected] --unsafe-perm=true

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

0 comments on commit f2b3c52

Please sign in to comment.