[gdal-dev] Alpine Docker build with ODBC support

Andrew Murdoch andrew.murdoch.dev at gmail.com
Thu Feb 11 08:06:00 PST 2021


Just to close the loop on this and refresh my own memory when I need to
review this...

To fully enable MS SQL Server Spatial, I _did_ also need to add the specific
MS SQL ODBC _driver_ found here:

https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15#alpine17

I tagged on to the updated Dockerfile that I modified to add the "unixodbc"
library. Not strictly sure I need that anymore, since I added the MS SQL
driver, but this _works_ with both "unixodbc" and MS SQL driver "ODBC Driver
17 for SQL Server".

I added the MS SQL driver commands referenced in the link above during the
"Build final image" step in the alpine-normal Dockerfile. 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list