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 eaca212
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++ python3 linux-headers binutils-gold gnupg libstdc++ nss chromium \
npm bash \
&& npm install -g [email protected] --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
RUN npm install -g [email protected] --unsafe-perm=true

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

0 comments on commit eaca212

Please sign in to comment.