File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
hibernate-reactive-core/src/test/java/org/hibernate/reactive/containers Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 49
49
services :
50
50
# Label used to access the service container
51
51
mysql :
52
- # Docker Hub image
53
- image : mysql:9.2.0
52
+ image : container-registry.oracle.com/mysql/community-server:9.3.0
54
53
env :
55
54
MYSQL_ROOT_PASSWORD : hreact
56
55
MYSQL_DATABASE : hreact
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class MySQLDatabase implements TestableDatabase {
87
87
* TIP: To reuse the same containers across multiple runs, set `testcontainers.reuse.enable=true` in a file located
88
88
* at `$HOME/.testcontainers.properties` (create the file if it does not exist).
89
89
*/
90
- public static final MySQLContainer <?> mysql = new MySQLContainer <>( fromDockerfile ( "mysql" ) )
90
+ public static final MySQLContainer <?> mysql = new MySQLContainer <>( fromDockerfile ( "mysql" ). asCompatibleSubstituteFor ( "mysql" ) )
91
91
.withUsername ( DatabaseConfiguration .USERNAME )
92
92
.withPassword ( DatabaseConfiguration .PASSWORD )
93
93
.withDatabaseName ( DatabaseConfiguration .DB_NAME )
Original file line number Diff line number Diff line change 1
1
# MySQL
2
2
# See https://hub.docker.com/_/mysql
3
- FROM docker.io /mysql:9.2 .0
3
+ FROM container-registry.oracle.com /mysql/community-server :9.3 .0
You can’t perform that action at this time.
0 commit comments