-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (20 loc) · 1.21 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM ghcr.io/dockhippie/ruby:latest
ENTRYPOINT [""]
# renovate: datasource=rubygems depName=asciidoctor
ENV ASCIIDOCTOR_VERSION=2.0.23
# renovate: datasource=rubygems depName=asciidoctor-pdf
ENV ASCIIDOCTOR_PDF_VERSION=2.3.19
# renovate: datasource=rubygems depName=asciidoctor-diagram
ENV ASCIIDOCTOR_DIAGRAM_VERSION=2.3.1
# renovate: datasource=rubygems depName=asciidoctor-epub3
ENV ASCIIDOCTOR_EPUB3_VERSION=2.1.3
# renovate: datasource=rubygems depName=asciidoctor-mathematical
ENV ASCIIDOCTOR_MATHEMATICAL_VERSION=0.3.5
# renovate: datasource=rubygems depName=asciidoctor-revealjs
ENV ASCIIDOCTOR_REVEALJS_VERSION=5.1.0
RUN apk update && \
apk upgrade && \
apk add py3-pygments py3-seqdiag@testing py3-nwdiag@testing cmake bison flex-dev mtex2mml-dev lasem-dev && \
gem install mathematical asciidoctor:${ASCIIDOCTOR_VERSION} asciidoctor-pdf:${ASCIIDOCTOR_PDF_VERSION} asciidoctor-diagram:${ASCIIDOCTOR_DIAGRAM_VERSION} asciidoctor-epub3:${ASCIIDOCTOR_EPUB3_VERSION} asciidoctor-mathematical:${ASCIIDOCTOR_MATHEMATICAL_VERSION} asciidoctor-revealjs:${ASCIIDOCTOR_REVEALJS_VERSION} rouge coderay pygments.rb epubcheck kindlegen && \
apk del cmake bison flex-dev mtex2mml-dev lasem-dev && \
rm -rf /var/cache/apk/*