Skip to content

Commit

Permalink
Merge pull request #526 from shanselman/patch-1
Browse files Browse the repository at this point in the history
new CDN link for dotnet
  • Loading branch information
tonybaloney authored Dec 25, 2024
2 parents d72705c + 6ece125 commit 0e2d6f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apt-get -y update && apt-get install -y software-properties-common && apt-ge
libc6 libgcc1 libgl1 libglib2.0-0 libice6 libsm6 libstdc++6 libx11-6 libxext6 libxrender1 \
&& apt-get install -y python3.10 python3.10-dev python3.10-distutils python3.10-venv \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
RUN wget https://dotnetcli.azureedge.net/dotnet/Sdk/${DOTNET_VERSION}/dotnet-sdk-${DOTNET_VERSION}-linux-x64.tar.gz
RUN wget https://builds.dotnet.microsoft.com/dotnet/Sdk/${DOTNET_VERSION}/dotnet-sdk-${DOTNET_VERSION}-linux-x64.tar.gz
RUN mkdir -p dotnet && tar zxf dotnet-sdk-${DOTNET_VERSION}-linux-x64.tar.gz -C dotnet
ENV DOTNET_ROOT=/src/dotnet
RUN chmod +x /src/.github/build-manylinux.sh
Expand Down
4 changes: 2 additions & 2 deletions eng/install-dotnet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
.PARAMETER Verbose
Displays diagnostics information.
.PARAMETER AzureFeed
Default: https://dotnetcli.azureedge.net/dotnet
Default: https://builds.dotnet.microsoft.com/dotnet
This parameter typically is not changed by the user.
It allows changing the URL for the Azure feed used by this installer.
.PARAMETER UncachedFeed
Expand Down Expand Up @@ -104,7 +104,7 @@ param(
[switch]$SharedRuntime,
[switch]$DryRun,
[switch]$NoPath,
[string]$AzureFeed="https://dotnetcli.azureedge.net/dotnet",
[string]$AzureFeed="https://builds.dotnet.microsoft.com/dotnet",
[string]$UncachedFeed="https://dotnetcli.blob.core.windows.net/dotnet",
[string]$FeedCredential,
[string]$ProxyAddress,
Expand Down
4 changes: 2 additions & 2 deletions eng/install-dotnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ architecture="<auto>"
dry_run=false
no_path=false
no_cdn=false
azure_feed="https://dotnetcli.azureedge.net/dotnet"
azure_feed="https://builds.dotnet.microsoft.com/dotnet"
uncached_feed="https://dotnetcli.blob.core.windows.net/dotnet"
feed_credential=""
verbose=false
Expand Down Expand Up @@ -1565,4 +1565,4 @@ fi
say "Note that the script does not resolve dependencies during installation."
say "To check the list of dependencies, go to https://docs.microsoft.com/dotnet/core/install, select your operating system and check the \"Dependencies\" section."
say "Installation finished successfully."
say "Installation finished successfully."

0 comments on commit 0e2d6f8

Please sign in to comment.