From ebe0d88203f325e2f373f955aaf3860c6bf3b306 Mon Sep 17 00:00:00 2001 From: Yan Song Date: Mon, 26 Sep 2022 02:21:42 +0000 Subject: [PATCH] test: replace java image with amazoncorretto To fix the broken test: https://github.com/dragonflyoss/image-service/actions/runs/3124279728 Failed to convert: Parse source image: Parse source image: resolve image: docker.io/library/java:latest: not found The java/openjdk image is officially deprecated and all users are recommended to use suitable replacements, related info: https://hub.docker.com/_/openjdk https://github.com/docker-library/openjdk/issues/505 Signed-off-by: Yan Song --- contrib/nydusify/tests/image_test.go | 5 ++++- misc/top_images/image_list.txt | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/nydusify/tests/image_test.go b/contrib/nydusify/tests/image_test.go index 0b522912a81..100551be35e 100644 --- a/contrib/nydusify/tests/image_test.go +++ b/contrib/nydusify/tests/image_test.go @@ -21,7 +21,10 @@ var list = []string{ "wordpress", "mongo", "debian", - "java", + // An alternative for open jdk image, see: + // https://hub.docker.com/_/openjdk + // https://github.com/docker-library/openjdk/issues/505 + "amazoncorretto", "ruby", "php", "tomcat", diff --git a/misc/top_images/image_list.txt b/misc/top_images/image_list.txt index f28231953cd..f96349211d8 100644 --- a/misc/top_images/image_list.txt +++ b/misc/top_images/image_list.txt @@ -12,7 +12,7 @@ mongo mysql memcached mariadb -openjdk +amazoncorretto docker rabbitmq centos @@ -39,7 +39,6 @@ chronograf gradle adminer ghost -java kong solr sentry