From a33f88f57edccafc0bfccb58ea03992ace2fc978 Mon Sep 17 00:00:00 2001 From: Igor Yova Date: Tue, 1 Oct 2024 09:57:17 +0200 Subject: [PATCH] Update Microsoft SQL Server to version 2022-latest --- embedded-mssqlserver/README.adoc | 2 +- .../testcontainer/mssqlserver/MSSQLServerProperties.java | 2 +- embedded-mssqlserver/src/test/resources/bootstrap.properties | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/embedded-mssqlserver/README.adoc b/embedded-mssqlserver/README.adoc index 752966f9c..7d2d9ba77 100644 --- a/embedded-mssqlserver/README.adoc +++ b/embedded-mssqlserver/README.adoc @@ -16,7 +16,7 @@ * `embedded.mssqlserver.enabled` `(true|false, default is true)` * `embedded.mssqlserver.reuseContainer` `(true|false, default is false)` -* `embedded.mssqlserver.dockerImage` `(default is 'mcr.microsoft.com/mssql/server:2017-CU12')` +* `embedded.mssqlserver.dockerImage` `(default is 'mcr.microsoft.com/mssql/server:2022-latest')` ** Image versions: https://hub.docker.com/_/microsoft-mssql-server * `embedded.mssqlserver.password` `(default is foobar1234)` * `embedded.mssqlserver.acceptLicence` `(default is 'false')` diff --git a/embedded-mssqlserver/src/main/java/com/playtika/testcontainer/mssqlserver/MSSQLServerProperties.java b/embedded-mssqlserver/src/main/java/com/playtika/testcontainer/mssqlserver/MSSQLServerProperties.java index c4e7c56df..8eb31601e 100644 --- a/embedded-mssqlserver/src/main/java/com/playtika/testcontainer/mssqlserver/MSSQLServerProperties.java +++ b/embedded-mssqlserver/src/main/java/com/playtika/testcontainer/mssqlserver/MSSQLServerProperties.java @@ -25,6 +25,6 @@ public class MSSQLServerProperties extends CommonContainerProperties { public String getDefaultDockerImage() { // Please don`t remove this comment. // renovate: datasource=docker - return "mcr.microsoft.com/mssql/server:2017-CU12"; + return "mcr.microsoft.com/mssql/server:2022-latest"; } } diff --git a/embedded-mssqlserver/src/test/resources/bootstrap.properties b/embedded-mssqlserver/src/test/resources/bootstrap.properties index 121b7c549..848741cfa 100644 --- a/embedded-mssqlserver/src/test/resources/bootstrap.properties +++ b/embedded-mssqlserver/src/test/resources/bootstrap.properties @@ -1,4 +1,3 @@ embedded.mssqlserver.password=Foobar1234! embedded.mssqlserver.accept-licence=true -embedded.mssqlserver.docker-image=mcr.microsoft.com/mssql/server:2017-CU12 embedded.mssqlserver.init-script-path=initScript.sql \ No newline at end of file