diff --git a/Dockerfile b/Dockerfile index 5b7bf182..5d1177d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ 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" ] && [ "$(dpkg --print-architecture)" = "amd64" ]; 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 && \