File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1- FROM centos:7.5.1804
1+ FROM centos:7.6.1810
22
33LABEL maintainer="philipp.salvisberg@trivadis.com"
44LABEL description="Tools to generate HTML and PDF using Materials for MkDocs and wkhtmltopdf."
55LABEL build.command="docker build . --tag trivadis/mktools:latest"
66
7+ # install python, not part of centos
8+ # see https://www.osetc.com/en/how-to-install-the-latest-python-3-3-6-x-3-7-x-on-centos-7-or-rhel-7.html
79RUN yum install -y https://centos7.iuscommunity.org/ius-release.rpm
810RUN yum update -y
911RUN yum install -y python36u python36u-libs python36u-devel python36u-pip
12+
13+ # install git and wget
1014RUN yum install -y git
1115RUN yum install -y wget
1216
13- # Install wkhtmltox 0.12.4 since 0.12.5 cannot create TOCs, see https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3995
17+ # install wkhtmltox 0.12.4 since 0.12.5 cannot create TOCs, see https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3995
1418# RUN yum install -y https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm
1519RUN yum install -y yum install -y wkhtmltopdf
1620RUN wget -q https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz -O /tmp/wkhtmltox.tar.xz && \
1721 tar xvf /tmp/wkhtmltox.tar.xz -C /tmp && \
1822 cp -rp /tmp/wkhtmltox/* /usr/local && \
1923 rm -rf /tmp/wkhtmltox*
2024
25+ # install python modules (most recent versions)
2126RUN pip3.6 install --upgrade pip
2227RUN pip3.6 install mkdocs \
2328 mkdocs-material \
You can’t perform that action at this time.
0 commit comments