From 50d69fd428379172080ded4ee1638b2511f27063 Mon Sep 17 00:00:00 2001
From: squidfunk <martin.donath@squidfunk.com>
Date: Tue, 21 Nov 2017 22:07:08 +0100
Subject: [PATCH] Fixed test setup for Docker container

---
 .travis.sh | 3 +--
 Dockerfile | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/.travis.sh b/.travis.sh
index 05d39eb1..d49b6acf 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -51,10 +51,9 @@ docker build -t $TRAVIS_REPO_SLUG .
 # Prepare build regression test
 pushd /tmp
 mkdocs new test && cd test
-echo "theme: \n  name: material" >> mkdocs.yml
 
 # Test Docker image build
-docker run --rm -it -v `pwd`:/docs $TRAVIS_REPO_SLUG build
+docker run --rm -it -v `pwd`:/docs $TRAVIS_REPO_SLUG build --theme material
 
 # Return to original directory
 popd
diff --git a/Dockerfile b/Dockerfile
index 8f065d46..ab0af453 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -33,7 +33,7 @@ COPY setup.py setup.py
 
 # Perform build and cleanup artifacts
 RUN \
-  apk add -U openssh git && \
+  apk add --no-cache openssh git && \
   python setup.py install 2>/dev/null && \
   rm -rf /tmp/*
 
-- 
GitLab