aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-11-22 09:26:28 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-11-22 09:26:28 +0100
commitf88ee545c264c2c0c6021086303651ee0966b43e (patch)
tree3ffe0f4a644b1afd540194d7cd6331fa66b67d4e /Dockerfile
parent89531dd9d2df5269730582db9cfd9036b32b67ab (diff)
downloads2i-virtio-spec-f88ee545c264c2c0c6021086303651ee0966b43e.tar.gz
try centos8 (newer texlive)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile22
1 files changed, 10 insertions, 12 deletions
diff --git a/Dockerfile b/Dockerfile
index 041c1ee..5603ee8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,7 @@
-# kraxel/s2i-kerneldoc
-FROM centos/httpd-24-centos7
+FROM centos:8
ENV SUMMARY="virtio spec" \
- DESCRIPTION="Platform for building virtio specification (centos7)"
+ DESCRIPTION="Platform for building virtio specification (centos8)"
LABEL maintainer="Gerd Hoffmann <kraxel@redhat.com>" \
summary="${SUMMARY}" \
@@ -10,18 +9,20 @@ LABEL maintainer="Gerd Hoffmann <kraxel@redhat.com>" \
io.k8s.display-name="${SUMMARY}" \
io.k8s.description="${DESCRIPTION}" \
io.openshift.expose-services="8080:http" \
- io.openshift.tags="linux,kerneldoc"
+ io.openshift.tags="virtio"
USER root
-RUN yum install -y liberation-fonts \
+RUN dnf install -y liberation-fonts \
texlive-amsfonts \
texlive-cm \
texlive-latex-fonts \
+ texlive-metafont \
+ texlive-metapost \
texlive-xetexfontinfo \
+ texlive-zapfding \
\
texlive-tetex \
- texlive-metafont \
/usr/bin/htlatex \
/usr/bin/pdflatex \
/usr/bin/xelatex \
@@ -31,6 +32,7 @@ RUN yum install -y liberation-fonts \
texlive-chngcntr \
texlive-courier \
texlive-etoolbox \
+ texlive-euenc \
texlive-fancyhdr \
texlive-fancyvrb \
texlive-fontspec \
@@ -55,16 +57,12 @@ RUN yum install -y liberation-fonts \
texlive-xltxtra \
texlive-xstring \
\
- zip; \
- yum clean all -y
+ zip httpd; \
+ dnf 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