From a231aa7fac96c40328cc2856ad1820536bcc66ca Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 10 Oct 2025 19:55:45 -0400 Subject: Fix password passed to health cmd and use 2022 sql server image --- scripts/lib/docker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/docker.sh b/scripts/lib/docker.sh index d487699..a82a31c 100644 --- a/scripts/lib/docker.sh +++ b/scripts/lib/docker.sh @@ -116,14 +116,14 @@ docker_start_mssql() { docker run --detach \ --name "$container_name" \ --publish 1433:1433 \ - --health-cmd "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P $BOLT_MSSQL_SA_PASSWORD -Q 'SELECT 1' -C || exit 1" \ + --health-cmd "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P '$BOLT_MSSQL_SA_PASSWORD' -Q 'SELECT 1' -C || exit 1" \ --health-interval 10s \ --health-timeout 3s \ --health-start-period 10s \ --health-retries 10 \ --env ACCEPT_EULA=Y \ --env MSSQL_SA_PASSWORD="$BOLT_MSSQL_SA_PASSWORD" \ - mcr.microsoft.com/mssql/server:2025-latest + mcr.microsoft.com/mssql/server:2022-latest } # Stop and remove a database container -- cgit v1.2.3