File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,16 @@ RUN ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
2525# end of install powershell
2626
2727FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine AS build
28+ # ############
29+ # temp fix due to sdk 7.0.201 using a preview version of msbuild
30+ # installing sdk 7.0.103 which doesn't have this problem
31+ # ############
32+ RUN apk update && apk upgrade && apk add bash
33+ RUN wget https://dot.net/v1/dotnet-install.sh && chmod +x ./dotnet-install.sh
34+ ENV DOTNET_INSTALL_FOLDER=/usr/share/dotnet
35+ RUN ./dotnet-install.sh --version 7.0.103 --install-dir ${DOTNET_INSTALL_FOLDER}
36+ # ############ the above block can be deleted when the SDK issue has been resolved
37+
2838WORKDIR /markdown-link-check-log-parser
2939COPY ["MarkdownLinkCheckLogParser/NuGet.Config" , "MarkdownLinkCheckLogParser/" ]
3040COPY ["MarkdownLinkCheckLogParser/src/MarkdownLinkCheckLogParserCli/MarkdownLinkCheckLogParserCli.csproj" , "MarkdownLinkCheckLogParser/src/MarkdownLinkCheckLogParserCli/" ]
You can’t perform that action at this time.
0 commit comments