Skip to content

Commit 8e46acc

Browse files
authored
Update docker images according to dependabot suggestions (#508)
* Bump mysql docker image version * Bump nats docker image version
1 parent 1fa4797 commit 8e46acc

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
container-registry.oracle.com/mysql/community-server:8.2
1+
container-registry.oracle.com/mysql/community-server:9.0.0

tests/src/com.mysql/mysql-connector-j/8.0.31/src/test/java/mysql/MySQLTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static void beforeAll() throws IOException {
5151
System.out.println("Starting MySQL ...");
5252
process = new ProcessBuilder(
5353
"docker", "run", "--rm", "-p", "3306:3306", "-e", "MYSQL_DATABASE=" + DATABASE, "-e", "MYSQL_USER=" + USERNAME,
54-
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:8.2").redirectOutput(new File("mysql-stdout.txt"))
54+
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.0.0").redirectOutput(new File("mysql-stdout.txt"))
5555
.redirectError(new File("mysql-stderr.txt")).start();
5656

5757
// Wait until connection can be established
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nats:2.10.14
1+
nats:2.10.17

tests/src/io.nats/jnats/2.16.11/src/test/java/io_nats/jnats/JnatsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class JnatsTest {
3030
@BeforeAll
3131
public void init() throws IOException {
3232
System.out.println("Starting NATS ...");
33-
process = new ProcessBuilder("docker", "run", "--rm", "-p", "4222:4222", "nats:2.10.14").inheritIO().start();
33+
process = new ProcessBuilder("docker", "run", "--rm", "-p", "4222:4222", "nats:2.10.17").inheritIO().start();
3434

3535
waitUntil(() -> {
3636
openConnection().close();
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
container-registry.oracle.com/mysql/community-server:8.2
1+
container-registry.oracle.com/mysql/community-server:9.0.0

tests/src/mysql/mysql-connector-java/8.0.29/src/test/java/mysql/MySQLTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static void beforeAll() throws IOException {
5151
System.out.println("Starting MySQL ...");
5252
process = new ProcessBuilder(
5353
"docker", "run", "--rm", "-p", "3306:3306", "-e", "MYSQL_DATABASE=" + DATABASE, "-e", "MYSQL_USER=" + USERNAME,
54-
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:8.2").redirectOutput(new File("mysql-stdout.txt"))
54+
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.0.0").redirectOutput(new File("mysql-stdout.txt"))
5555
.redirectError(new File("mysql-stderr.txt")).start();
5656

5757
// Wait until connection can be established
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
container-registry.oracle.com/mysql/community-server:8.2
1+
container-registry.oracle.com/mysql/community-server:9.0.0

tests/src/org.hibernate.reactive/hibernate-reactive-core/2.0.0.Final/src/test/java/org_hibernate_reactive/hibernate_reactive_core/HibernateReactiveCoreTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void init() throws IOException {
5959
logger.info("Starting MySQL ...");
6060
process = new ProcessBuilder(
6161
"docker", "run", "--rm", "-p", "3306:3306", "-e", "MYSQL_DATABASE=" + DATABASE, "-e", "MYSQL_USER=" + USERNAME,
62-
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:8.2").inheritIO().start();
62+
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.0.0").inheritIO().start();
6363

6464
waitUntil(() -> {
6565
openConnection().close();
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
container-registry.oracle.com/mysql/community-server:8.2
1+
container-registry.oracle.com/mysql/community-server:9.0.0

tests/src/samples/docker/image-pull/src/test/java/image/pull/DockerImagePullTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private void runImage(String image, boolean shouldSucceed) throws Exception {
3232

3333
@Test
3434
void pullAllowedImage() throws Exception {
35-
runImage("container-registry.oracle.com/mysql/community-server:8.2", true);
35+
runImage("container-registry.oracle.com/mysql/community-server:9.0.0", true);
3636
}
3737

3838
@Test

0 commit comments

Comments
 (0)