I have been trying to install the Microsoft ODBC Driver 17 for SQL Server for alpine in my dockerfile. I run the following commands in my docker file
RUN wget https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7 8d28ddafb39b/msodbcsql17_17.5.1.1-1_amd64.apk
RUN wget https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/mssql tools_17.5.1.2-1_amd64.apk
RUN wget https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.5.1.1-1_amd64.sig
RUN wget https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/mssql-tools_17.5.1.2-1_amd64.sig
RUN apk add gnupg
RUN wget https://packages.microsoft.com/keys/microsoft.asc | gpg --import -
RUN gpg --verify msodbcsql_17.5.1.1-1_amd64.sig msodbcsql_17.5.1.1-1_amd64.apk
RUN apk add --allow-untrusted msodbcsql_17.5.1.1-1_amd64.apk
RUN apk add --allow-untrusted mssql-tools_17.5.1.1-1_amd64.apk
However, I get the following message each time. I can see in the run interactive mode that the files are there.
can't open 'msodbcsql_17.5.1.1-1_amd64.sig': No such file or directory
You're downloading msodbcsql17_17.5.1.1-1_amd64.sig
and trying to verify msodbcsql_17.5.1.1-1_amd64.sig
. Double-check the filename as the error message says.