Skip to content

Commit

Permalink
Set Debian 11 repo for MS packages now that it's available
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Aug 13, 2023
1 parent 55a7a95 commit 7bfcf9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions root/tmp/setup/sqlsrv-extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ apt-get install -y --no-install-recommends apt-transport-https \
# Install Microsoft dependencies for sqlsrv
echo "Downloading sqlsrv files"
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
# TODO, bullseye should be 11, but the msodbcsql17 package is not available yet, hence using buster (10) one.
curl https://packages.microsoft.com/config/debian/10/prod.list -o /etc/apt/sources.list.d/mssql-release.list
curl https://packages.microsoft.com/config/debian/11/prod.list -o /etc/apt/sources.list.d/mssql-release.list
apt-get update

echo "Install msodbcsql"
Expand Down

0 comments on commit 7bfcf9b

Please sign in to comment.