Skip to content

Commit 2503a70

Browse files
Update versions incude fix for mike's set-default
- CentOS 7.6.1810 - mkdocs 1.0.4 - mike 0.3.5 (includes fix for set-default)
1 parent c64c526 commit 2503a70

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docker/Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
FROM centos:7.5.1804
1+
FROM centos:7.6.1810
22

33
LABEL maintainer="philipp.salvisberg@trivadis.com"
44
LABEL description="Tools to generate HTML and PDF using Materials for MkDocs and wkhtmltopdf."
55
LABEL 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
79
RUN yum install -y https://centos7.iuscommunity.org/ius-release.rpm
810
RUN yum update -y
911
RUN yum install -y python36u python36u-libs python36u-devel python36u-pip
12+
13+
# install git and wget
1014
RUN yum install -y git
1115
RUN 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
1519
RUN yum install -y yum install -y wkhtmltopdf
1620
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 && \
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)
2126
RUN pip3.6 install --upgrade pip
2227
RUN pip3.6 install mkdocs \
2328
mkdocs-material \

0 commit comments

Comments
 (0)