remove JENKINS_PREFIX support as same can now be achieved
with JENKINS_OPTS or `docker run` command line arguments.
diff --git a/Dockerfile b/Dockerfile
index d3ea858..b59322c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,9 +14,6 @@
RUN usermod -m -d "$JENKINS_HOME" jenkins && chown -R jenkins "$JENKINS_HOME"
VOLUME /var/jenkins_home
-# define url prefix for running jenkins behind Apache (https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache)
-ENV JENKINS_PREFIX /
-
# for main web interface:
EXPOSE 8080
diff --git a/jenkins.sh b/jenkins.sh
index 1bca04c..31dc7e4 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -2,7 +2,7 @@
# if `docker run` first argument start with `--` the user is passing jenkins launcher arguments
if [[ $# -lt 1 ]] || [[ "$1" == "--"* ]]; then
- exec java $JAVA_OPTS -jar /usr/share/jenkins/jenkins.war $JENKINS_OPTS --prefix=$JENKINS_PREFIX "$@"
+ exec java $JAVA_OPTS -jar /usr/share/jenkins/jenkins.war $JENKINS_OPTS "$@"
fi
# As argument is not jenkins, assume user want to run his own process, for sample a `bash` shell to explore this image