From ccce89a345390b198879b41296e14bcdd6dac40f Mon Sep 17 00:00:00 2001
From: Vincent Massol <vincent@massol.net>
Date: Fri, 10 Feb 2017 14:46:31 +0100
Subject: [PATCH] [Misc] Fix wrong VOLUME location issue introduced when I
 refactored the code to depend on the tomcat image instead of on debian jesse
 directly...

---
 xwiki-mysql-tomcat/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xwiki-mysql-tomcat/Dockerfile b/xwiki-mysql-tomcat/Dockerfile
index a853240..cc46e5a 100644
--- a/xwiki-mysql-tomcat/Dockerfile
+++ b/xwiki-mysql-tomcat/Dockerfile
@@ -67,7 +67,7 @@ COPY xwiki/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
 
 # Make the XWiki directory (the permanent directory is included in it) persist on the host (so that it's not recreated
 # across runs)
-VOLUME /var/lib/xwiki
+VOLUME /usr/local/xwiki
 
 # At this point the image is done and what remains below are the runtime configuration used by the user to configure
 # the container that will be created out of the image. Namely the user can override some environment variables with
-- 
GitLab