Skip to content

Commit

Permalink
Upgrade java 11 to 17x (#26)
Browse files Browse the repository at this point in the history
Signed-off-by: JiriOndrusek <[email protected]>
  • Loading branch information
JiriOndrusek authored Aug 22, 2024
1 parent ae6f296 commit e1fad4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN useradd -r -m -u 1001 -g 0 strimzi
#####
# Set JAVA_HOME env var
#####
ENV JAVA_HOME /usr/lib/jvm/jre-11
ENV JAVA_HOME /usr/lib/jvm/jre-17
#####
# Add Kafka
#####
Expand Down
2 changes: 1 addition & 1 deletion images/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
USER root

RUN microdnf update \
&& microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install java-11-openjdk-headless shadow-utils \
&& microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install java-17-openjdk-headless shadow-utils \
&& microdnf clean all

0 comments on commit e1fad4c

Please sign in to comment.