From 70e18037191b92e593ca2fa5f7c5401442569d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Thu, 24 Jun 2021 18:47:00 +0200 Subject: [PATCH] fix: update MSSQL Server linux image's Docker registry (#26440) * chore: add supported versions for mssql * fix: update repository for MS SQL Server linux image (cherry picked from commit 1ce38f43b16ba9f8a50a46456864ad0487bfb36e) --- x-pack/metricbeat/module/mssql/_meta/Dockerfile | 2 +- x-pack/metricbeat/module/mssql/_meta/supported-versions.yml | 2 ++ x-pack/metricbeat/module/mssql/docker-compose.yml | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 x-pack/metricbeat/module/mssql/_meta/supported-versions.yml diff --git a/x-pack/metricbeat/module/mssql/_meta/Dockerfile b/x-pack/metricbeat/module/mssql/_meta/Dockerfile index dded9f0f2a5..29c116faf71 100644 --- a/x-pack/metricbeat/module/mssql/_meta/Dockerfile +++ b/x-pack/metricbeat/module/mssql/_meta/Dockerfile @@ -1,5 +1,5 @@ ARG MSSQL_VERSION -FROM microsoft/mssql-server-linux:${MSSQL_VERSION} +FROM mcr.microsoft.com/mssql/server:${MSSQL_VERSION} ENV ACCEPT_EULA='Y' ENV SA_PASSWORD='1234_asdf' diff --git a/x-pack/metricbeat/module/mssql/_meta/supported-versions.yml b/x-pack/metricbeat/module/mssql/_meta/supported-versions.yml new file mode 100644 index 00000000000..e9f409a2875 --- /dev/null +++ b/x-pack/metricbeat/module/mssql/_meta/supported-versions.yml @@ -0,0 +1,2 @@ +variants: + - MSSQL_VERSION: 2017-GA-ubuntu diff --git a/x-pack/metricbeat/module/mssql/docker-compose.yml b/x-pack/metricbeat/module/mssql/docker-compose.yml index e9362795a6a..9fce8257135 100644 --- a/x-pack/metricbeat/module/mssql/docker-compose.yml +++ b/x-pack/metricbeat/module/mssql/docker-compose.yml @@ -2,10 +2,10 @@ version: '2.3' services: mssql: - image: docker.elastic.co/integrations-ci/beats-mssql:${MSSQL_VERSION:-2017-GA}-1 + image: docker.elastic.co/integrations-ci/beats-mssql:${MSSQL_VERSION:-2017-GA-ubuntu}-1 build: context: ./_meta args: - MSSQL_VERSION: ${MSSQL_VERSION:-2017-GA} + MSSQL_VERSION: ${MSSQL_VERSION:-2017-GA-ubuntu} ports: - 1433