Skip to content

Commit dc0ea9d

Browse files
committed
lucene 10.0.0 fix docker/tomcat to use jdk 21
1 parent aedb48a commit dc0ea9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
FROM ubuntu:jammy AS build
55

66
# hadolint ignore=DL3008
7-
RUN apt-get update && apt-get install --no-install-recommends -y openjdk-17-jdk python3 python3-venv && \
7+
RUN apt-get update && apt-get install --no-install-recommends -y openjdk-21-jdk python3 python3-venv && \
88
apt-get clean && \
99
rm -rf /var/lib/apt/lists/*
1010

@@ -41,7 +41,7 @@ RUN cp `ls -t distribution/target/*.tar.gz | head -1` /opengrok.tar.gz
4141
# Store the version in a file so that the tools can report it.
4242
RUN /mvn/mvnw help:evaluate -Dexpression=project.version -q -DforceStdout > /mvn/VERSION
4343

44-
FROM tomcat:10.1.30-jdk17
44+
FROM tomcat:10.1.31-jdk21
4545
LABEL maintainer="https://github.com/oracle/opengrok"
4646
LABEL org.opencontainers.image.source="https://github.com/oracle/opengrok"
4747
LABEL org.opencontainers.image.description="OpenGrok code search"

0 commit comments

Comments
 (0)