aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 165e69f9a0279d7c41fc6ad87d8320724df90128 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
FROM kraxel/s2i-base-httpd

ENV SUMMARY="virtio spec" \
    DESCRIPTION="Platform for building virtio specification (centos8)"

LABEL maintainer="Gerd Hoffmann <kraxel@redhat.com>" \
      summary="${SUMMARY}" \
      description="${DESCRIPTION}" \
      io.k8s.display-name="${SUMMARY}" \
      io.k8s.description="${DESCRIPTION}" \
      io.openshift.tags="virtio"

USER root

RUN dnf update -y && \
    dnf install -y liberation-fonts \
                   texlive-amsfonts \
                   texlive-cm \
                   texlive-courier \
                   texlive-latex-fonts \
                   texlive-metafont \
                   texlive-metapost \
                   texlive-xetexfontinfo \
                   texlive-zapfding \
		   \
                   texlive-tetex \
                   texlive-tex4ht \
                   /usr/bin/htlatex \
                   /usr/bin/pdflatex \
                   /usr/bin/xelatex \
		   \
		   'tex(ae.sty)' \
		   'tex(aecompl.sty)' \
		   'tex(array.sty)' \
		   'tex(babel.sty)' \
		   'tex(chngcntr.sty)' \
		   'tex(courier.sty)' \
		   'tex(english.ldf)' \
		   'tex(etoolbox.sty)' \
		   'tex(fancyhdr.sty)' \
		   'tex(fancyvrb.sty)' \
		   'tex(fontenc.sty)' \
		   'tex(fontspec.sty)' \
		   'tex(framed.sty)' \
		   'tex(geometry.sty)' \
		   'tex(graphicx.sty)' \
		   'tex(hyperref.sty)' \
		   'tex(inputenc.sty)' \
		   'tex(lastpage.sty)' \
		   'tex(lineno.sty)' \
		   'tex(listings.sty)' \
		   'tex(longtable.sty)' \
		   'tex(mdwlist.sty)' \
		   'tex(multirow.sty)' \
		   'tex(parskip.sty)' \
		   'tex(placeins.sty)' \
		   'tex(rotating.sty)' \
		   'tex(setspace.sty)' \
		   'tex(tabularx.sty)' \
		   'tex(titlesec.sty)' \
		   'tex(underscore.sty)' \
		   'tex(url.sty)' \
		   'tex(utf8x.def)' \
		   'tex(xcolor.sty)' \
		   'tex(xifthen.sty)' \
		   'tex(xltxtra.sty)' \
		   'tex(xstring.sty)' \
		   \
                   zip git file && \
    dnf clean all -y

COPY ./s2i/bin/ /usr/libexec/s2i
COPY ./etc/*.conf /etc/httpd/conf.d/

USER 1001

CMD ["/usr/libexec/s2i/usage"]