diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 40229b3..732a62f 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,7 +1,7 @@ services: postgresqldb: - image: postgres:16.6-alpine + image: postgres:17.2-alpine hostname: postgresqldb container_name: postgresqldb extra_hosts: [ 'host.docker.internal:host-gateway' ] diff --git a/src/test/java/com/learning/mfscreener/common/SQLContainersConfig.java b/src/test/java/com/learning/mfscreener/common/SQLContainersConfig.java index fd25285..5389065 100644 --- a/src/test/java/com/learning/mfscreener/common/SQLContainersConfig.java +++ b/src/test/java/com/learning/mfscreener/common/SQLContainersConfig.java @@ -14,6 +14,6 @@ public class SQLContainersConfig { @ServiceConnection @RestartScope PostgreSQLContainer postgreSQLContainer() { - return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16.4-alpine")); + return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17.2-alpine")); } }