diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-11-21 14:25:37 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-11-21 14:25:37 +0100 |
commit | c16cb9786491aa6db5160dabacc6c72b153c1e48 (patch) | |
tree | e79f231d2be555a493ea8f8543294906dae28825 /Dockerfile | |
download | s2i-virtio-spec-c16cb9786491aa6db5160dabacc6c72b153c1e48.tar.gz |
first try ...
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a5cce7c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,33 @@ +# 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 texlive-tetex \ + /usr/bin/htlatex \ + /usr/bin/pdflatex \ + /usr/bin/xelatex + 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/kerneldoc-documentroot.conf /etc/httpd/conf.d/ + +ENV BASH_ENV="/etc/scl_enable" + +USER 1001 +EXPOSE 8080 + +CMD ["/usr/libexec/s2i/usage"] |