From 83e846271ca18987ddae100cdcaf6c56182909ff Mon Sep 17 00:00:00 2001 From: Lukas Cardot Date: Mon, 2 Sep 2024 17:12:05 -0400 Subject: [PATCH] upgrade mssql docker image 2017-latest does not work correctly on arm processors 2017-latest does not work correctly on amd processors --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/snapshot.yml | 2 +- README.md | 1 - docker-compose.yml | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb4699a..ea0f50c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: --health-retries 10 mssql: - image: mcr.microsoft.com/mssql/server:2017-latest + image: mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04 env: ACCEPT_EULA: Y MSSQL_PID: Express diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d44e390..bd124bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: --health-retries 10 mssql: - image: mcr.microsoft.com/mssql/server:2017-latest + image: mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04 env: ACCEPT_EULA: Y MSSQL_PID: Express diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 4699284..95c7def 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -23,7 +23,7 @@ jobs: --health-retries 10 mssql: - image: mcr.microsoft.com/mssql/server:2017-latest + image: mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04 env: ACCEPT_EULA: Y MSSQL_PID: Express diff --git a/README.md b/README.md index 9dc6858..4c1d324 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,6 @@ Some tests require that the database container is running. To start the containe ````bash docker compose up -d ```` -Note: Currently, the MSSQL Docker image (`mcr.microsoft.com/mssql/server`) is not supported for the ARM64 platform. However, you can work around this limitation using the method described in this post: [https://github.com/microsoft/mssql-docker/issues/668#issuecomment-1436802153](https://github.com/microsoft/mssql-docker/issues/668#issuecomment-1436802153) ## Quick Start diff --git a/docker-compose.yml b/docker-compose.yml index d4068c0..0671fc8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: mssql: - image: mcr.microsoft.com/mssql/server:2017-latest + image: mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04 command: /bin/bash ./entrypoint.sh ports: - '1433:1433'