File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,16 @@ RUN yum install -y https://centos7.iuscommunity.org/ius-release.rpm
88RUN yum update -y
99RUN yum install -y python36u python36u-libs python36u-devel python36u-pip
1010RUN yum install -y git
11- RUN yum install -y https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm
11+ RUN yum install -y wget
12+
13+ # Install wkhtmltox 0.12.4 since 0.12.5 cannot create TOCs, see https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3995
14+ # RUN yum install -y https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm
15+ RUN yum install -y yum install -y wkhtmltopdf
16+ RUN 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 && \
17+ tar xvf /tmp/wkhtmltox.tar.xz -C /tmp && \
18+ cp -rp /tmp/wkhtmltox/* /usr/local && \
19+ rm -rf /tmp/wkhtmltox*
20+
1221RUN pip3.6 install --upgrade pip
1322RUN pip3.6 install mkdocs \
1423 mkdocs-material \
You can’t perform that action at this time.
0 commit comments