diff --git a/xwiki-mysql-tomcat/Dockerfile b/xwiki-mysql-tomcat/Dockerfile index 451b9c74ca89f08879750231cb0c7d258dd22e23..ff9e2391a5fe0eb40254f3f8729223b4c4335676 100644 --- a/xwiki-mysql-tomcat/Dockerfile +++ b/xwiki-mysql-tomcat/Dockerfile @@ -32,7 +32,8 @@ ENV XWIKI_VERSION=8.4.4 \ RUN echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list && \ apt-get update && \ apt-get -y upgrade && \ - apt-get -y --force-yes install sudo nano unzip curl openjdk-8-jdk tomcat8 libreoffice + apt-get -y --force-yes install sudo nano unzip curl openjdk-8-jdk tomcat8 libreoffice && \ + rm -rf /var/lib/apt/lists/* # Install XWiki as the ROOT webapp context in Tomcat RUN rm -rf /var/lib/tomcat8/webapps/* && \