dockerfile for setting up mssql tools
This is an example of dockefile use to setup mssql tools. If you do not accept the license agreement, then you might get error code 100 during build.
FROM ubuntu:22.04
RUN apt-get update \
&& curl -sL https://aka.ms/InstallAzureCLIDeb | bash \
&& curl https://packages.microsoft.com/keys/microsoft.asc | tee /etc/apt/trusted.gpg.d/microsoft.asc \
&& curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list | tee /etc/apt/sources.list.d/mssql-release.list
RUN ACCEPT_EULA=y DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends mssql-tools unixodbc-dev
Comments