Skip to content

Commit e436564

Browse files
install wkhtmltopdf 0.12.6, remove unnecessary LC_ALL setting
1 parent 01b234c commit e436564

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

docker/Dockerfile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ RUN /bin/bash -c 'cd Python-3.8*/; ./configure --enable-optimizations; make alti
1717
# install git
1818
RUN yum install -y git
1919

20-
# install wkhtmltox 0.12.4 since 0.12.5 cannot create TOCs, see https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3995
21-
# RUN yum install -y https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm
22-
RUN yum install -y yum install -y wkhtmltopdf
23-
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 && \
24-
tar xvf /tmp/wkhtmltox.tar.xz -C /tmp && \
25-
cp -rp /tmp/wkhtmltox/* /usr/local && \
26-
rm -rf /tmp/wkhtmltox*
27-
2820
# install python modules (most recent versions)
2921
RUN pip3.8 install --upgrade pip
3022
RUN pip3.8 install mkdocs \
@@ -33,7 +25,10 @@ RUN pip3.8 install mkdocs \
3325
pymdown-extensions \
3426
mike
3527

36-
ENV LC_ALL=en_US.utf8
28+
# install wkhtmltox 0.12.6
29+
RUN yum install -y https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox-0.12.6-1.centos8.x86_64.rpm
30+
31+
# set environment
3732
ENV LANG=en_US.utf8
3833

3934
# volume for GitHub project's root folder containing docs folder

0 commit comments

Comments
 (0)