aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 61f83a223ea5506d25d4723d997b0037b25a951e (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
# kraxel/s2i-kerneldoc
FROM centos/httpd-24-centos7

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

LABEL maintainer="Gerd Hoffmann <kraxel@redhat.com>" \
      summary="${SUMMARY}" \
      description="${DESCRIPTION}" \
      io.k8s.display-name="${SUMMARY}" \
      io.k8s.description="${DESCRIPTION}" \
      io.openshift.expose-services="8080:http" \
      io.openshift.tags="linux,kerneldoc"

USER root

RUN yum install -y liberation-fonts \
                   texlive-amsfonts \
                   texlive-cm \
                   texlive-latex-fonts \
                   texlive-xetexfontinfo \
		   \
                   texlive-tetex \
                   texlive-metafont \
                   /usr/bin/htlatex \
                   /usr/bin/pdflatex \
                   /usr/bin/xelatex \
		   \
		   texlive-ae \
		   texlive-babel \
		   texlive-chngcntr \
		   texlive-courier \
		   texlive-etoolbox \
		   texlive-fancyhdr \
		   texlive-fancyvrb \
		   texlive-fontspec \
		   texlive-framed \
		   texlive-geometry \
		   texlive-hyperref \
		   texlive-lastpage \
		   texlive-lineno \
		   texlive-listings \
		   texlive-mdwtools \
		   texlive-multirow \
		   texlive-parskip \
		   texlive-placeins \
		   texlive-rotating \
		   texlive-setspace \
		   texlive-titlesec \
		   texlive-underscore \
		   texlive-url \
		   texlive-xcolor \
		   texlive-xifthen \
		   texlive-xltxtra \
		   texlive-xstring \
		   \
                   zip; \
    yum clean all -y

RUN for file in /usr/libexec/s2i/*; do cp -v $file ${file}.httpd; done
COPY ./s2i/bin/ /usr/libexec/s2i
COPY ./etc/scl_enable /etc/
COPY ./etc/virtio-spec-documentroot.conf /etc/httpd/conf.d/

ENV BASH_ENV="/etc/scl_enable"

USER 1001
EXPOSE 8080

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