Skip to content

Commit a1b60a7

Browse files
sntiwari1claude
andcommitted
Fix registry Docker image: upgrade JRE from 8 to 11
The Maven pom has maven.compiler.target=11, producing class file version 55 (Java 11). The old base image frolvlad/alpine-java:jdk8-slim runs Java 8, which only supports class file versions up to 52. This caused an UnsupportedClassVersionError on every registry container start, making port 8081 permanently inaccessible in CI. Switch to eclipse-temurin:11-jre-alpine which is a well-maintained JRE 11 Alpine image and matches the compiler target. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 67c3651 commit a1b60a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM frolvlad/alpine-java:jdk8-slim
1+
FROM eclipse-temurin:11-jre-alpine
22
#COPY ./java/registry/target/registry.jar /home/sunbirdrc/registry.jar
33
COPY ./BOOT-INF/lib /home/sunbirdrc/BOOT-INF/lib
44
COPY ./META-INF /home/sunbirdrc/META-INF

0 commit comments

Comments
 (0)