jib icon indicating copy to clipboard operation
jib copied to clipboard

When will support Java 21 be added?

Open bcg-siingkim opened this issue 1 year ago • 2 comments
trafficstars

Environment:

  • Jib version: 3.4.0
  • Build tool: Gradle
  • OS: Mac

Description of the issue: When will support for building Java 21 be available?

bcg-siingkim avatar Jan 17 '24 05:01 bcg-siingkim

FWIW, I managed to get it working by explicitly specifying a jre image name to use as a base

jib {
    from {
        image = "eclipse-temurin:21-jre"
    }
}

3mtee avatar Feb 06 '24 11:02 3mtee

FWIW, I managed to get it working by explicitly specifying a jre image name to use as a base

jib {
    from {
        image = "eclipse-temurin:21-jre"
    }
}

Are your containers running with root after using from ?

I also had the same problem and when I specified the images explicitly, the jib containers are running with root user.

mimranfaruqi avatar Mar 14 '24 16:03 mimranfaruqi