Skip to content

Commit

Permalink
use jre image
Browse files Browse the repository at this point in the history
  • Loading branch information
marat-biriushev committed May 27, 2024
1 parent 84535f9 commit 6b181c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class DockerPlugin implements Plugin<Project> {
} else if (javaVersion == 17) {
return 'openjdk:17-jdk-slim'
} else if (javaVersion == 21) {
return 'openjdk:21-jdk-slim'
return 'eclipse-temurin:21-jre'
} else {
// default fallback version
return 'openjdk:8-jre-alpine'
Expand Down

0 comments on commit 6b181c0

Please sign in to comment.