File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ ARG MICROSOFT_DOWNLOAD_URL=https://download.microsoft.com/download/7/6/d/76de322
1818
1919ENV PATH=$MSSQLTOOLS_PATH/bin:$PATH
2020
21- RUN apk add --update curl gnupg \
22- # Helper command to convert \r\n to \n,
23- # since sqlcmd prints Windows line endings
24- dos2unix; \
21+ RUN apk add --update --no-cache --virtual .install-deps curl gnupg \
22+ # Helper command to convert \r\n to \n,
23+ # since sqlcmd prints Windows line endings
24+ && apk add --update --no-cache dos2unix; \
2525 \
2626 export MSODBCSQL_PACKAGE=msodbcsql${MSODBCSQL_SUFFIX}_${MSODBCSQL_VERSION}_${TARGETARCH}; \
2727 export MSSQL_TOOLS_PACKAGE=mssql-tools${MSSQLTOOLS_SUFFIX}_${MSSQLTOOLS_VERSION}_${TARGETARCH}; \
@@ -38,6 +38,7 @@ RUN apk add --update curl gnupg \
3838 \
3939 && apk add --allow-untrusted ${MSODBCSQL_PACKAGE}.apk \
4040 && apk add --allow-untrusted ${MSSQL_TOOLS_PACKAGE}.apk \
41+ && apk del .install-deps \
4142 && rm -f ${MSODBCSQL_PACKAGE}.apk ${MSSQL_TOOLS_PACKAGE}.apk \
4243 && rm -rf /var/cache/apk/*
4344
You can’t perform that action at this time.
0 commit comments