Skip to content

Commit

Permalink
Add MSSQL driver so QFieldCloud can support MSSQL layers
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Jan 16, 2025
1 parent 1c677a9 commit 0e3ec1d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docker-qgis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,21 @@ RUN apt-get update \
xvfb \
iputils-ping \
glibc-tools \
git
git \
curl


# Add MSSQL driver dependencies prerequisites
RUN curl -sSL -O https://packages.microsoft.com/config/ubuntu/24.04/packages-microsoft-prod.deb
RUN dpkg -i packages-microsoft-prod.deb
RUN rm packages-microsoft-prod.deb

# Add MSSQL driver dependencies
RUN apt-get update \
&& apt-get upgrade -y \
&& ACCEPT_EULA=Y apt-get install -y \
msodbcsql18 \
mssql-tools18

# Set QGIS version as in the debian repos
# Choose your version from here: https://debian.qgis.org/debian/dists/noble/main/binary-amd64/Packages
Expand Down

0 comments on commit 0e3ec1d

Please sign in to comment.