diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-10 19:55:45 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-10 19:56:29 -0400 |
| commit | a231aa7fac96c40328cc2856ad1820536bcc66ca (patch) | |
| tree | 7608786c1195e386c28efd9e50af9716c72391e9 /scripts | |
| parent | Update database images for test runs (diff) | |
| download | cli-a231aa7fac96c40328cc2856ad1820536bcc66ca.zip | |
Fix password passed to health cmd and use 2022 sql server image
Diffstat (limited to '')
| -rw-r--r-- | scripts/lib/docker.sh | 4 |
1 files 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 |