Set jenkins user home to /var/jenkins_home
diff --git a/Dockerfile b/Dockerfile
index 770ed64..57c0f32 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,7 @@
RUN wget -q -O - http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | sudo apt-key add -
RUN echo deb http://pkg.jenkins-ci.org/debian-stable binary/ >> /etc/apt/sources.list
RUN apt-get update && apt-get install -y jenkins
+RUN usermod -m -d /var/jenkins_home jenkins
RUN mkdir -p /var/jenkins_home && chown -R jenkins /var/jenkins_home
ADD init.groovy /tmp/WEB-INF/init.groovy
RUN cd /tmp && zip -g /usr/share/jenkins/jenkins.war WEB-INF/init.groovy