File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,11 @@ RUN apt-get update && \
2020 unixodbc-dev
2121
2222# Install the Microsoft ODBC driver for SQL Server
23- # https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15#debian17
24- # Debian 10
25- RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
26- curl https://packages.microsoft.com/config/debian/10/prod.list > /etc/apt/sources.list.d/mssql-release.list
27-
28- RUN apt-get update && \
29- ACCEPT_EULA=Y apt-get install -y \
30- msodbcsql17 \
31- && rm -rf /var/lib/apt/lists/*
23+ RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
24+ RUN curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
25+ RUN apt-get update
26+ RUN ACCEPT_EULA=Y apt-get install -y msodbcsql18
27+ RUN apt-get install -y unixodbc-dev
3228
3329# Install the package manager - pipenv
3430RUN pip install --upgrade pip && \
You can’t perform that action at this time.
0 commit comments