Skip to content

Commit 841e93e

Browse files
author
Vladimir Kotal
committed
switch Tomcat to JDK 11
fixes #3089
1 parent ae44c5b commit 841e93e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ WORKDIR /opengrok-source
3535
RUN mvn -DskipTests=true -Dmaven.javadoc.skip=true -B -V package
3636
RUN cp distribution/target/*.tar.gz /opengrok.tar.gz
3737

38-
FROM tomcat:9-jre8
38+
FROM tomcat:9-jdk11
3939
LABEL maintainer="[email protected]"
4040

4141
# install dependencies and Python tools
@@ -67,7 +67,7 @@ ENV CATALINA_HOME /usr/local/tomcat
6767
ENV CATALINA_BASE /usr/local/tomcat
6868
ENV CATALINA_TMPDIR /usr/local/tomcat/temp
6969
ENV PATH $CATALINA_HOME/bin:$PATH
70-
ENV JRE_HOME /usr
70+
# ENV JRE_HOME /usr
7171
ENV CLASSPATH /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
7272

7373
# custom deployment to / with redirect from /source

0 commit comments

Comments
 (0)