@@ -2,43 +2,41 @@ FROM registry.access.redhat.com/ubi8:latest
2
2
3
3
LABEL MAINTAINERS="Red Hat Services"
4
4
5
- ARG asciidoctor_version=2.0.15
5
+ ARG asciidoctor_version=2.0.16
6
6
ARG asciidoctor_confluence_version=0.0.2
7
- ARG asciidoctor_pdf_version=1.6.0
8
- ARG asciidoctor_diagram_version=2.1.2
7
+ ARG asciidoctor_pdf_version=1.6.1
8
+ ARG asciidoctor_diagram_version=2.2.1
9
9
ARG asciidoctor_epub3_version=1.5.1
10
10
ARG asciidoctor_mathematical_version=0.3.5
11
11
ARG asciidoctor_revealjs_version=4.1.0
12
- ARG kramdown_asciidoc_version=1 .0.1
12
+ ARG kramdown_asciidoc_version=2 .0.0
13
13
ARG asciidoctor_bibtex_version=0.8.0
14
- ARG pandoc_version=2.13
14
+ ARG pandoc_version=2.14.2
15
15
16
16
17
17
ENV ASCIIDOCTOR_VERSION=${asciidoctor_version} \
18
- ASCIIDOCTOR_CONFLUENCE_VERSION=${asciidoctor_confluence_version} \
19
- ASCIIDOCTOR_PDF_VERSION=${asciidoctor_pdf_version} \
20
- ASCIIDOCTOR_DIAGRAM_VERSION=${asciidoctor_diagram_version} \
21
- ASCIIDOCTOR_EPUB3_VERSION=${asciidoctor_epub3_version} \
22
- ASCIIDOCTOR_MATHEMATICAL_VERSION=${asciidoctor_mathematical_version} \
23
- ASCIIDOCTOR_REVEALJS_VERSION=${asciidoctor_revealjs_version} \
24
- KRAMDOWN_ASCIIDOC_VERSION=${kramdown_asciidoc_version} \
25
- ASCIIDOCTOR_BIBTEX_VERSION=${asciidoctor_bibtex_version} \
26
- PANDOC_VERSION=${pandoc_version}
27
-
18
+ ASCIIDOCTOR_CONFLUENCE_VERSION=${asciidoctor_confluence_version} \
19
+ ASCIIDOCTOR_PDF_VERSION=${asciidoctor_pdf_version} \
20
+ ASCIIDOCTOR_DIAGRAM_VERSION=${asciidoctor_diagram_version} \
21
+ ASCIIDOCTOR_EPUB3_VERSION=${asciidoctor_epub3_version} \
22
+ ASCIIDOCTOR_MATHEMATICAL_VERSION=${asciidoctor_mathematical_version} \
23
+ ASCIIDOCTOR_REVEALJS_VERSION=${asciidoctor_revealjs_version} \
24
+ KRAMDOWN_ASCIIDOC_VERSION=${kramdown_asciidoc_version} \
25
+ ASCIIDOCTOR_BIBTEX_VERSION=${asciidoctor_bibtex_version} \
26
+ PANDOC_VERSION=${pandoc_version}
28
27
29
28
USER root
30
29
31
-
32
30
# Installing Ruby Gems needed in the image
33
31
# including asciidoctor itself
34
32
35
33
RUN dnf install -y \
36
34
python3-devel \
37
35
git \
38
36
ruby \
39
- make \
37
+ make \
40
38
gcc \
41
- redhat-rpm-config \
39
+ redhat-rpm-config \
42
40
ruby-devel \
43
41
&& gem install --no-document \
44
42
"asciidoctor:${ASCIIDOCTOR_VERSION}" \
@@ -56,9 +54,10 @@ RUN dnf install -y \
56
54
slim \
57
55
thread_safe \
58
56
tilt \
59
- "asciidoctor-bibtex:${ASCIIDOCTOR_BIBTEX_VERSION}" \
60
- && rm -rf /usr/local/share/gems/cache \
61
- && dnf clean all && rm -rf /var/lib/dnf
57
+ "asciidoctor-bibtex:${ASCIIDOCTOR_BIBTEX_VERSION}" \
58
+ && rm -rf /usr/local/share/gems/cache \
59
+ && dnf clean all \
60
+ && rm -rf /var/lib/dnf
62
61
63
62
# install pandoc
64
63
RUN curl -L https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz | tar xvz --strip-components 1 -C /usr/local/
@@ -69,6 +68,7 @@ VOLUME /documents
69
68
RUN mkdir /home/work \
70
69
&& chgrp -R 0 /home/work \
71
70
&& chmod -R g=u /home/work
71
+
72
72
ENV HOME=/home/work
73
73
74
74
# Installing Python dependencies for additional
@@ -82,4 +82,3 @@ RUN pip3 install --no-cache-dir \
82
82
USER 1001
83
83
84
84
CMD ["/bin/bash" ]
85
-
0 commit comments