FROM centos:8 ENV SUMMARY="virtio spec" \ DESCRIPTION="Platform for building virtio specification (centos8)" LABEL maintainer="Gerd Hoffmann " \ summary="${SUMMARY}" \ description="${DESCRIPTION}" \ io.k8s.display-name="${SUMMARY}" \ io.k8s.description="${DESCRIPTION}" \ io.openshift.expose-services="8080:http" \ io.openshift.tags="virtio" \ io.openshift.s2i.scripts-url="image:///usr/libexec/s2i" USER root RUN dnf install -y liberation-fonts \ texlive-amsfonts \ texlive-cm \ texlive-latex-fonts \ texlive-metafont \ texlive-metapost \ texlive-xetexfontinfo \ texlive-zapfding \ \ texlive-tetex \ /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(xcolor.sty)' \ 'tex(xifthen.sty)' \ 'tex(xltxtra.sty)' \ 'tex(xstring.sty)' \ \ zip git file httpd; \ dnf clean all -y COPY ./s2i/bin/ /usr/libexec/s2i COPY ./etc/virtio-spec-documentroot.conf /etc/httpd/conf.d/ RUN mkdir -p /opt/app-root;\ chmod 755 /opt /opt/app-root;\ useradd -d /opt/app-root/src -u 1001 default;\ mkdir -p /run/httpd;\ chmod 777 /run/httpd /etc/httpd/logs;\ sed -i -e '/Listen/s/^/#/' /etc/httpd/conf/httpd.conf;\ rm -f /etc/httpd/conf.d/welcome.conf USER 1001 EXPOSE 8080 CMD ["/usr/libexec/s2i/usage"]