diff --git a/Dockerfile b/Dockerfile index 5d1177d8..9deeecd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,9 +25,7 @@ RUN apt-get update && apt-get upgrade -y && apt-get install curl -y RUN pip install --upgrade pip # Conditionally install ODBC driver for SQL Server. -# There is no ODBC driver for linux/arm64 architecture, so SQL Server support -# is limited to linux/amd64 architecture -RUN if [ "$USE_MSSQL" = "true" ] && [ "$(dpkg --print-architecture)" = "amd64" ]; then \ +RUN if [ "$USE_MSSQL" = "true" ]; then \ apt-get install -y gnupg2 apt-transport-https && \ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/microsoft.gpg && \ curl https://packages.microsoft.com/config/debian/11/prod.list | tee /etc/apt/sources.list.d/mssql-release.list && \