From 23eacc1bbfeee6a673c237bcc92b7c94c870025f Mon Sep 17 00:00:00 2001 From: Eric Buckley Date: Thu, 23 Jan 2025 03:45:48 -0800 Subject: [PATCH] bugfix for shell conditions in Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 && \