You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Gradle app that is configured to use Java 12:
sourceCompatibility = 12
targetCompatibility = 12
It is packaged with Jib. Since Jib includes support for Java 11 only by default, I specify a Java 12 base image as follows. Unfortunately, when I run gradle jibDockerBuild, the task fails with the following message:
Your project is using Java 12 but the base image is for Java 11, perhaps you should configure a Java 12-compatible base image using the 'jib.from.image' parameter, or set targetCompatibility = 11 or below in your build configuration
Expected behavior:
Gradle jibDockerBuild task completes with success.
Additional Information: Downgrading to Jib Gradle version 1.5.1 solves the issue. It seems a change was introduced with version 1.6.0. I tried adding the prefix 'registry://' to the base image name but the task still fails.
The text was updated successfully, but these errors were encountered:
Environment:
Description of the issue:
I have a Gradle app that is configured to use Java 12:
It is packaged with Jib. Since Jib includes support for Java 11 only by default, I specify a Java 12 base image as follows. Unfortunately, when I run
gradle jibDockerBuild
, the task fails with the following message:Expected behavior:
Gradle
jibDockerBuild
task completes with success.Steps to reproduce:
gradle jibDockerBuild
.jib-gradle-plugin
Configuration:Additional Information: Downgrading to Jib Gradle version 1.5.1 solves the issue. It seems a change was introduced with version 1.6.0. I tried adding the prefix 'registry://' to the base image name but the task still fails.
The text was updated successfully, but these errors were encountered: