Skip to content

Commit f5e30de

Browse files
committed
Define Java version in one place in the container image
Signed-off-by: Jakub Scholz <www@scholzj.com>
1 parent e3df578 commit f5e30de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-images/base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN microdnf update -y \
2121
&& microdnf reinstall -y tzdata \
2222
&& microdnf clean all -y
2323

24-
ENV JAVA_HOME=/usr/lib/jvm/jre-21
24+
ENV JAVA_HOME=/usr/lib/jvm/jre-${JAVA_VERSION}
2525

2626
#####
2727
# Add Tini

0 commit comments

Comments
 (0)