Skip to content

Commit

Permalink
Update docker dependencies with dependabot suggestions (#399)
Browse files Browse the repository at this point in the history
* Update postgres image

* Update nats docker image

* Update mysql docker image

* Update greenmail docker image
  • Loading branch information
dnestoro authored Nov 2, 2023
1 parent 53500b4 commit 893f748
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
container-registry.oracle.com/mysql/community-server:8.1
container-registry.oracle.com/mysql/community-server:8.2
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static void beforeAll() throws IOException {
System.out.println("Starting MySQL ...");
process = new ProcessBuilder(
"docker", "run", "--rm", "-p", "3306:3306", "-e", "MYSQL_DATABASE=" + DATABASE, "-e", "MYSQL_USER=" + USERNAME,
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:8.1").redirectOutput(new File("mysql-stdout.txt"))
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:8.2").redirectOutput(new File("mysql-stdout.txt"))
.redirectError(new File("mysql-stderr.txt")).start();

// Wait until connection can be established
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
greenmail/standalone:2.1.0-alpha-1
greenmail/standalone:2.1.0-alpha-2
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class JakartaMailTest {
static void beforeAll() throws IOException {
System.out.println("Starting email server ...");
new ProcessBuilder("docker", "run", "--cidfile", "greenmail.cid", "-p", "3025:3025", "--rm", "-e",
"GREENMAIL_OPTS=-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose", "greenmail/standalone:2.1.0-alpha-1")
"GREENMAIL_OPTS=-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose", "greenmail/standalone:2.1.0-alpha-2")
.redirectOutput(new File("greenmail-stdout.txt"))
.redirectError(new File("greenmail-stderr.txt")).start();
Awaitility.await().atMost(Duration.ofSeconds(10)).until(() -> {
Expand Down
2 changes: 1 addition & 1 deletion tests/src/io.nats/jnats/2.16.11/required-docker-images.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nats:2.9.19
nats:2.10.4
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class JnatsTest {
@BeforeAll
public void init() throws IOException {
System.out.println("Starting NATS ...");
process = new ProcessBuilder("docker", "run", "--rm", "-p", "4222:4222", "nats:2.9.19").inheritIO().start();
process = new ProcessBuilder("docker", "run", "--rm", "-p", "4222:4222", "nats:2.10.4").inheritIO().start();

waitUntil(() -> {
openConnection().close();
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
container-registry.oracle.com/mysql/community-server:8.1
container-registry.oracle.com/mysql/community-server:8.2
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static void beforeAll() throws IOException {
System.out.println("Starting MySQL ...");
process = new ProcessBuilder(
"docker", "run", "--rm", "-p", "3306:3306", "-e", "MYSQL_DATABASE=" + DATABASE, "-e", "MYSQL_USER=" + USERNAME,
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:8.1").redirectOutput(new File("mysql-stdout.txt"))
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:8.2").redirectOutput(new File("mysql-stdout.txt"))
.redirectError(new File("mysql-stderr.txt")).start();

// Wait until connection can be established
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
container-registry.oracle.com/mysql/community-server:8.1
container-registry.oracle.com/mysql/community-server:8.2
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void init() throws IOException {
logger.info("Starting MySQL ...");
process = new ProcessBuilder(
"docker", "run", "--rm", "-p", "3306:3306", "-e", "MYSQL_DATABASE=" + DATABASE, "-e", "MYSQL_USER=" + USERNAME,
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:8.1").inheritIO().start();
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:8.2").inheritIO().start();

waitUntil(() -> {
openConnection().close();
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
postgres:15-alpine
postgres:16-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static void beforeAll() throws IOException {
System.out.println("Starting PostgreSQL ...");
process = new ProcessBuilder(
"docker", "run", "--rm", "-p", "5432:5432", "-e", "POSTGRES_DB=" + DATABASE, "-e", "POSTGRES_USER=" + USERNAME,
"-e", "POSTGRES_PASSWORD=" + PASSWORD, "postgres:15-alpine").redirectOutput(new File("postgres-stdout.txt"))
"-e", "POSTGRES_PASSWORD=" + PASSWORD, "postgres:16-alpine").redirectOutput(new File("postgres-stdout.txt"))
.redirectError(new File("postgres-stderr.txt")).start();

// Wait until connection can be established
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
container-registry.oracle.com/mysql/community-server:8.1
container-registry.oracle.com/mysql/community-server:8.2
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private void runImage(String image, boolean shouldSucceed) throws Exception {

@Test
void pullAllowedImage() throws Exception {
runImage("container-registry.oracle.com/mysql/community-server:8.1", true);
runImage("container-registry.oracle.com/mysql/community-server:8.2", true);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM greenmail/standalone:2.1.0-alpha-1
FROM greenmail/standalone:2.1.0-alpha-2
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM container-registry.oracle.com/mysql/community-server:8.1
FROM container-registry.oracle.com/mysql/community-server:8.2
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM nats:2.9.19
FROM nats:2.10.4
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM postgres:15-alpine
FROM postgres:16-alpine

0 comments on commit 893f748

Please sign in to comment.