From d5adbe67af50ce89fd4931827a682966544f103b Mon Sep 17 00:00:00 2001 From: Peter Bajurny Date: Fri, 14 Feb 2020 01:22:59 -0600 Subject: [PATCH] Added supported plugins to Docker image (#1458) --- .dockerignore | 5 +++++ Dockerfile | 7 +++++-- requirements.txt | 1 - 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..4dcc4dd58 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +.git +.github +docs +node_modules +src diff --git a/Dockerfile b/Dockerfile index 935181ce2..255d4877f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -FROM python:3.6.8-alpine3.9 +FROM python:3.8.1-alpine3.11 # Set build directory WORKDIR /tmp @@ -38,7 +38,10 @@ RUN \ git-fast-import \ openssh \ && python setup.py install \ - && rm -rf /tmp/* + && rm -rf /tmp/* \ + && pip install --no-cache-dir \ + 'mkdocs-minify-plugin>=0.2' \ + 'mkdocs-git-revision-date-localized-plugin' # Set working directory WORKDIR /docs diff --git a/requirements.txt b/requirements.txt index 2f65eada6..274d6578d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,7 +20,6 @@ # Direct dependencies mkdocs>=1.0 -mkdocs-minify-plugin>=0.2 Pygments>=2.4 markdown>=3.2 pymdown-extensions>=6.3