Skip to content

Commit e841ee2

Browse files
committed
chore: change deprecated test manifest reference
1 parent c6a59ee commit e841ee2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jib-core/src/integration-test/java/com/google/cloud/tools/jib/api/ContainerizerIntegrationTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,10 @@ public void testSteps_forBuildToDockerRegistry_skipExistingDigest()
278278
public void testBuildToDockerRegistry_dockerHubBaseImage()
279279
throws InvalidImageReferenceException, IOException, InterruptedException, ExecutionException,
280280
RegistryException, CacheDirectoryCreationException {
281+
// We use eclipse-temurin instead of openjdk due to its deprecation
282+
// see https://hub.docker.com/_/openjdk#deprecation-notice
281283
buildImage(
282-
ImageReference.parse("openjdk:8-jre-slim"),
284+
ImageReference.parse("eclipse-temurin:8-jre-alpine"),
283285
Containerizer.to(RegistryImage.named(dockerHost + ":5000/testimage:testtag")),
284286
Collections.emptyList());
285287

0 commit comments

Comments
 (0)