Skip to content

Commit c74e360

Browse files
committed
[hibernate#2270] Update JBang templates MySQL docker image
to `container-registry.oracle.com/mysql/community-server:9.3.0`
1 parent 026c31b commit c74e360

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tooling/jbang/MySQLReactiveTest.java.qute

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class {baseName} {
7272
}
7373

7474
@ClassRule
75-
public final static MySQLContainer<?> database = new MySQLContainer<>( imageName( "docker.io", "mysql", "9.2.0" ) );
75+
public final static MySQLContainer<?> database = new MySQLContainer<>( imageName( "container-registry.oracle.com", "mysql/community-server", "9.3.0" ).asCompatibleSubstituteFor( "mysql" ) );
7676

7777
private Mutiny.SessionFactory sessionFactory;
7878

tooling/jbang/ReactiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public String toString() {
229229
*/
230230
enum Database {
231231
POSTGRESQL( () -> new PostgreSQLContainer( "postgres:17.5" ) ),
232-
MYSQL( () -> new MySQLContainer( "mysql:9.2.0" ) ),
232+
MYSQL( () -> new MySQLContainer( "container-registry.oracle.com/mysql/community-server:9.3.0" ) ),
233233
DB2( () -> new Db2Container( "docker.io/icr.io/db2_community/db2:12.1.0.0" ).acceptLicense() ),
234234
MARIADB( () -> new MariaDBContainer( "mariadb:11.7.2" ) ),
235235
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v24.3.13" ) );

0 commit comments

Comments
 (0)