Created
September 14, 2017 09:26
-
-
Save taiyoh/cf47a59a01018dfa5b6ae033803d4994 to your computer and use it in GitHub Desktop.
Dockerfile for cmark-gfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 https://github.com/github/cmark/archive/${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