Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create-db.sh incompatible with the latest version of mssql/server:2019-latest #54

Open
MicahBredenhorst opened this issue Oct 30, 2024 · 1 comment

Comments

@MicahBredenhorst
Copy link

When initializing from a template using:

dotnet new epi-alloy-mvc --name alloy-docker --output ./alloy-docker --enable-docker

You get an error that /opt/mssql-tools/bin/sqlcmd does not exists. This is because the newest version of mssql/server:2019 has its tools located at: /opt/mssql-tools18/bin/sqlcmd

It is still an open issue in github on mssql-docker, should the create-db.sh script be adjusted as a result of this change?

@pbustamantes
Copy link

We have updated our documentation to say the following:

In SQL Server 2022 (16.x) CU 14 and later versions, container images include the new mssql-tools18 package. The previous directory /opt/mssql-tools/bin is being phased out. The new directory for Microsoft ODBC 18 tools is /opt/mssql-tools18/bin, aligning with the latest tools offering. For more information about changes and security enhancements, see ODBC Driver 18.0 for SQL Server Released.

Originally posted by @rwestMSFT in #892

Based on that answer, IMO, the script must be updated to the new location/tooling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants