Skip to content

feat: add default base image for Java 25#4436

Merged
diegomarquezp merged 2 commits intomasterfrom
java-25-base-image
Nov 14, 2025
Merged

feat: add default base image for Java 25#4436
diegomarquezp merged 2 commits intomasterfrom
java-25-base-image

Conversation

@diegomarquezp
Copy link
Contributor

No description provided.

@diegomarquezp diegomarquezp marked this pull request as ready for review November 14, 2025 19:37
@diegomarquezp diegomarquezp marked this pull request as draft November 14, 2025 19:37
@diegomarquezp diegomarquezp marked this pull request as ready for review November 14, 2025 19:47
@mpeddada1
Copy link
Contributor

@diegomarquezp We're likely seeing this failure because docker hub removed the openjdk-8-jre-slim image (deprecation notice). https://hub.docker.com/_/eclipse-temurin is listed as an alternative so we can use that as a replacement for now.

Stacktrace from kokoro-ubuntu:

com.google.cloud.tools.jib.api.ContainerizerIntegrationTest > testBuildToDockerRegistry_dockerHubBaseImage FAILED
    com.google.cloud.tools.jib.registry.RegistryErrorException: Tried to pull image manifest for registry-1.docker.io/library/openjdk:8-jre-slim but failed because: manifest unknown
        at com.google.cloud.tools.jib.registry.RegistryErrorExceptionBuilder.build(RegistryErrorExceptionBuilder.java:101)
        at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.newRegistryErrorException(RegistryEndpointCaller.java:212)
        at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call(RegistryEndpointCaller.java:153)
        at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call(RegistryEndpointCaller.java:114)

@diegomarquezp
Copy link
Contributor Author

@diegomarquezp We're likely seeing this failure because docker hub removed the openjdk-8-jre-slim image (deprecation notice). https://hub.docker.com/_/eclipse-temurin is listed as an alternative so we can use that as a replacement for now.

Stacktrace from kokoro-ubuntu:

com.google.cloud.tools.jib.api.ContainerizerIntegrationTest > testBuildToDockerRegistry_dockerHubBaseImage FAILED
    com.google.cloud.tools.jib.registry.RegistryErrorException: Tried to pull image manifest for registry-1.docker.io/library/openjdk:8-jre-slim but failed because: manifest unknown
        at com.google.cloud.tools.jib.registry.RegistryErrorExceptionBuilder.build(RegistryErrorExceptionBuilder.java:101)
        at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.newRegistryErrorException(RegistryEndpointCaller.java:212)
        at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call(RegistryEndpointCaller.java:153)
        at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call(RegistryEndpointCaller.java:114)

Thanks @mpeddada1, yes I noticed the deprecation. I changed it to eclipse-temurin.

@diegomarquezp diegomarquezp enabled auto-merge (squash) November 14, 2025 20:40
@diegomarquezp diegomarquezp merged commit e36945a into master Nov 14, 2025
9 of 11 checks passed
@diegomarquezp diegomarquezp deleted the java-25-base-image branch November 14, 2025 20:53
ML-Marco pushed a commit to ML-Marco/jib that referenced this pull request Nov 18, 2025
* feat: add default base image for Java 25

* chore: change deprecated test manifest reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants