Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
647 stars 142 forks source link

Can you also add base images for openjdk 10 and openjdk 11 #148

Closed wavermartijn closed 5 years ago

wavermartijn commented 5 years ago

https://github.com/Transmode/gradle-docker/blob/3d22f0904058a3530ff3eda31ea54f78377ec01e/src/main/java/se/transmode/gradle/plugins/docker/JavaBaseImage.java#L27

wavermartijn commented 5 years ago

Sorry, I saw you have a commit for the most recent versions already. Hope they will be merged soon

jomach commented 5 years ago

shouldn't this work: docker { baseImage = 'openjdk:11-jre-slim' ... }

It fails on my because of Caused by: java.lang.IllegalArgumentException: No Java base image for the supplied target 11 found.

bjornmagnusson commented 5 years ago

Fixed by #145