Skip to content

Instantly share code, notes, and snippets.

Created Sep 14, 2017
What would you like to do?
Dockerfile for cmark-gfm
FROM alpine
RUN apk --update add --virtual build-dependencies curl cmake make gcc g++ && rm -rf /var/cache/apk/*
ENV cmark_version=0.27.1.gfm.1
RUN curl -L${cmark_version}.tar.gz -o cmark_${cmark_version}.tar.gz && \
tar xvzf cmark_${cmark_version}.tar.gz && cd cmark-${cmark_version} && mkdir build && cd build && \
cmake .. && make && make test && make install
ENTRYPOINT cmark-gfm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment