Created
May 30, 2023 16:46
-
-
Save jancel/bb29700d8ab4073e0efa4a5793639bee to your computer and use it in GitHub Desktop.
Installing SQL Server Tools on Debian 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:10 | |
################################################################ | |
# Install bulk copy program (bcp) | |
################################################################ | |
RUN apt install -y gnupg2 apt-transport-https wget curl | |
RUN wget -q -O- https://packages.microsoft.com/keys/microsoft.asc | \ | |
gpg --dearmor | tee /usr/share/keyrings/microsoft.gpg > /dev/null 2>&1 | |
RUN echo "deb [signed-by=/usr/share/keyrings/microsoft.gpg arch=amd64,armhf,arm64] https://packages.microsoft.com/debian/10/prod buster main" | \ | |
tee /etc/apt/sources.list.d/prod.list | |
RUN apt-get update && env ACCEPT_EULA=Y apt-get install -y mssql-tools unixodbc-dev | |
################################################################ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment