File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1+
12FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine AS build
23WORKDIR /source
34COPY . .
45RUN dotnet restore
56RUN dotnet publish -c release -o /srv --no-restore
67
78FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine
8- RUN dotnet nuget add source https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/dev/nuget/v3/index.json -n SteeltoeDev
9- RUN dotnet new --install Steeltoe.NetCoreTool.Templates::0.6.0 &&\
9+ ARG templates_version=1.0.0
10+ # RUN dotnet nuget add source https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/dev/nuget/v3/index.json -n SteeltoeDev
11+ RUN dotnet new --install Steeltoe.NetCoreTool.Templates::${templates_version} &&\
1012 dotnet new --list | grep steeltoe-webapi
1113WORKDIR /srv
1214COPY --from=build /srv .
You can’t perform that action at this time.
0 commit comments