Skip to content

Commit

Permalink
fix: update MSSQL Server linux image's Docker registry (#26440)
Browse files Browse the repository at this point in the history
* chore: add supported versions for mssql

* fix: update repository for MS SQL Server linux image

(cherry picked from commit 1ce38f4)
  • Loading branch information
mdelapenya authored and mergify-bot committed Jun 24, 2021
1 parent 49bcb8b commit 70e1803
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x-pack/metricbeat/module/mssql/_meta/Dockerfile
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 2 additions & 0 deletions x-pack/metricbeat/module/mssql/_meta/supported-versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
variants:
- MSSQL_VERSION: 2017-GA-ubuntu
4 changes: 2 additions & 2 deletions x-pack/metricbeat/module/mssql/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 70e1803

Please sign in to comment.