diff --git a/Dockerfile b/Dockerfile index 8cb24a03d082ad292b7441e86a819ba66f87ec1f..4af9415934792e6c29bc5aa46a794ea09addb9c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM centos/nginx-114-centos7 ENV NAME="MkDocs" \ MKDOCS_VERSION="1.0.4" \ MATERIAL_VERSION="4.4.2" \ + PYMDOWN_EXTENSION_VERSION="6.3" \ SUMMARY="Platform for building and running MkDocs static sites." \ DESCRIPTION="MkDocs is a fast, simple and downright gorgeous \ static site generator that's geared towards building project documentation. \ @@ -24,13 +25,15 @@ LABEL maintainer="CERN Authoring <authoring@cern.ch>" \ USER root # Install the latest available Python and pip for CentOS 7 -# as well as the specified version of MkDocs and the Material theme. +# as well as the specified version of MkDocs, Material theme and +# pymdown-extensions https://squidfunk.github.io/mkdocs-material/extensions/pymdown/ . RUN yum install -y rh-python36-python-pip && \ yum clean all && \ /opt/rh/rh-python36/root/usr/bin/pip install --cache-dir /root --upgrade pip && \ /opt/rh/rh-python36/root/usr/bin/pip install --cache-dir /root \ mkdocs==${MKDOCS_VERSION} \ - mkdocs-material==${MATERIAL_VERSION} + mkdocs-material==${MATERIAL_VERSION} \ + pymdown-extensions==${PYMDOWN_EXTENSION_VERSION} # Move the original assemble script to another file # and copy our custom assemble script.