Skip to content

Commit cb488d8

Browse files
committed
fix: Use JDK instead of JRE for Java compilation
- Change base image from openjdk:11-jre-slim to openjdk:11-jdk-slim - Fix 'No compiler is provided' error during Maven build - JDK includes Java compiler needed for Maven compilation - JRE only includes runtime, not development tools
1 parent 5d0faf5 commit cb488d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Use OpenJDK 11 as base image
2-
FROM openjdk:11-jre-slim
1+
# Use OpenJDK 11 JDK as base image (needed for compilation)
2+
FROM openjdk:11-jdk-slim
33

44
# Set working directory
55
WORKDIR /app

0 commit comments

Comments
 (0)