Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still dealing with the fallout from the bad SDK 7.0.200 release #58

Merged
merged 1 commit into from
Mar 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ RUN ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
# end of install powershell

FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine AS build
#############
# temp fix due to sdk 7.0.201 using a preview version of msbuild
# installing sdk 7.0.103 which doesn't have this problem
#############
RUN apk update && apk upgrade && apk add bash
RUN wget https://dot.net/v1/dotnet-install.sh && chmod +x ./dotnet-install.sh
ENV DOTNET_INSTALL_FOLDER=/usr/share/dotnet
RUN ./dotnet-install.sh --version 7.0.103 --install-dir ${DOTNET_INSTALL_FOLDER}
############# the above block can be deleted when the SDK issue has been resolved

WORKDIR /share-jobs-data
COPY ["ShareJobsData/NuGet.Config", "ShareJobsData/"]
COPY ["ShareJobsData/src/ShareJobsDataCli/ShareJobsDataCli.csproj", "ShareJobsData/src/ShareJobsDataCli/"]
Expand Down