We've released hotfix packages for the following drivers to address important security issues:
Microsoft ODBC Driver 17 for SQL Server (version 17.10.6 release notes / download)
Microsoft O...
# Use an Ubuntu 23.04 base image
FROM ubuntu:23.04
RUN apt update -y && apt upgrade -y
# Install required packages and tools
RUN apt install -y unixodbc sudo gnupg2 curl ca-certificates unixodbc-dev
RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
RUN curl https://packages.microsoft.com/config/ubuntu/23.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
RUN sudo apt-get update
RUN sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18
RUN sudo ACCEPT_EULA=Y apt-get install -y mssql-tools18
RUN echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >> ~/.bash_profile
RUN echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >> ~/.bashrc
I am getting the following error :
It doesn't matter the which base ubuntu I use, I tried with both ubuntu:23.04 & ubuntu:24.04. In both cases it's erroring at the same spot.