From 00cc0b01a16db77183d549bb796be6fe4732376e Mon Sep 17 00:00:00 2001 From: Patrick Flynn Date: Wed, 10 Jan 2024 11:15:37 -0500 Subject: [PATCH] Switch from using unmaintained Google Cloud mysql db image to dockerhub official image (#3272) https://github.com/GoogleCloudPlatform/mysql-docker claims it is unmaintained and hasn't seen an update in 5 months. Without a specific reason for using this fork we should try using the official image on dockerhub which is less likely to see breakages or fall out of date. Instead of pinning to a hash I'm following the 8.0 tag to automatically receive patch versions. The reasoning being that the container is used during testing and is not an included dependency in our final artifact. Happy to consider pinning if anybody thinks there is a call for it. --- examples/deployment/docker/db_server/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/deployment/docker/db_server/Dockerfile b/examples/deployment/docker/db_server/Dockerfile index 1bed473ac9..c8365c501f 100644 --- a/examples/deployment/docker/db_server/Dockerfile +++ b/examples/deployment/docker/db_server/Dockerfile @@ -1,4 +1,4 @@ -FROM gcr.io/trillian-opensource-ci/mysql8:8.0@sha256:89d1c5d48cee111cdc6348704044a60578f5c0af9dfc55b6e58e32a01906bd21 +FROM mysql:8.0 # TODO(roger2hk): Uncomment the below OS-level packages patch command as this is a temporary workaround to bypass the mysql8 gpg key rotation issue. # # Patch the OS-level packages and remove unneeded dependencies.