Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ RUN az account clear \
# Install .NET
ENV NUGET_PACKAGES="/azp/nuget/NUGET_PACKAGES"
ENV NUGET_HTTP_CACHE_PATH="/azp/nuget/NUGET_HTTP_CACHE_PATH"
ENV NUGET_PLUGINS_CACHE_PATH = "/azp/nuget/NUGET_PLUGINS_CACHE_PATH"
ENV NUGET_SCRATCH = "/azp/nuget/NUGET_SCRATCH"
ENV NUGET_PLUGINS_CACHE_PATH="/azp/nuget/NUGET_PLUGINS_CACHE_PATH"
ENV NUGET_SCRATCH="/azp/nuget/NUGET_SCRATCH"
ENV PATH="/azp/tools/dotnet:${PATH}"
ENV DOTNET_ROOT="/azp/tools/dotnet"
ENV DOTNET_HOST_PATH="/azp/tools/dotnet/dotnet"
Expand All @@ -65,7 +65,8 @@ RUN mkdir /azp/nuget \
&& curl -Lsfo "dotnet-install.sh" https://dot.net/v1/dotnet-install.sh \
&& chmod +x "dotnet-install.sh" \
&& ./dotnet-install.sh --channel 8.0 --install-dir /azp/tools/dotnet \
&& ./dotnet-install.sh --channel 9.0 --install-dir /azp/tools/dotnet
&& ./dotnet-install.sh --channel 9.0 --install-dir /azp/tools/dotnet \
&& ./dotnet-install.sh --channel 10.0 --install-dir /azp/tools/dotnet

# Install DevOps Agent
RUN export AZP_TOKEN=${BUILD_AZP_TOKEN} \
Expand Down
3 changes: 2 additions & 1 deletion primedotnet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Set-StrictMode -Version 7.3

[string[]] $netversions = @(
'8.0',
'9.0'
'9.0',
'10.0'
)

[string[]] $templates = @(
Expand Down