Skip to content

Commit 5b88cb5

Browse files
authored
Use a "better" dotnet-install URL (#3215)
Not sure if this is a sign of anything, but there is another URL
1 parent f9d11b3 commit 5b88cb5

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

scripts/Docker/alpine/amd64/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN apk add --no-cache \
1111
# Install the .NET SDK
1212
ARG DOTNET_SDK_VERSION=8.0
1313
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
14-
RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh \
14+
RUN wget https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh -O dotnet-install.sh \
1515
&& bash dotnet-install.sh --channel ${DOTNET_SDK_VERSION} --install-dir /usr/share/dotnet --verbose \
1616
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet \
1717
&& rm dotnet-install.sh \

scripts/Docker/alpine/arm64v8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN apk add --no-cache \
1111
# Install the .NET SDK
1212
ARG DOTNET_SDK_VERSION=8.0
1313
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
14-
RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh \
14+
RUN wget https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh -O dotnet-install.sh \
1515
&& bash dotnet-install.sh --channel ${DOTNET_SDK_VERSION} --install-dir /usr/share/dotnet --verbose \
1616
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet \
1717
&& rm dotnet-install.sh \

scripts/Docker/alpine/clang-cross/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RUN . /etc/skia-env \
6060
# Install the .NET SDK
6161
ARG DOTNET_SDK_VERSION=8.0
6262
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
63-
RUN curl https://dot.net/v1/dotnet-install.sh -L -o dotnet-install.sh \
63+
RUN curl https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh -L -o dotnet-install.sh \
6464
&& bash dotnet-install.sh --channel ${DOTNET_SDK_VERSION} --install-dir /usr/share/dotnet --verbose \
6565
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet \
6666
&& rm dotnet-install.sh \

scripts/Docker/debian/amd64/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN apt-get update \
1313
# Install the .NET SDK
1414
ARG DOTNET_SDK_VERSION=8.0
1515
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
16-
RUN curl https://dot.net/v1/dotnet-install.sh -L -o dotnet-install.sh \
16+
RUN curl https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh -L -o dotnet-install.sh \
1717
&& bash dotnet-install.sh --channel ${DOTNET_SDK_VERSION} --install-dir /usr/share/dotnet --verbose \
1818
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet \
1919
&& rm dotnet-install.sh \

scripts/Docker/debian/arm64v8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN apt-get update \
1313
# Install the .NET SDK
1414
ARG DOTNET_SDK_VERSION=8.0
1515
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
16-
RUN curl https://dot.net/v1/dotnet-install.sh -L -o dotnet-install.sh \
16+
RUN curl https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh -L -o dotnet-install.sh \
1717
&& bash dotnet-install.sh --channel ${DOTNET_SDK_VERSION} --install-dir /usr/share/dotnet --verbose \
1818
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet \
1919
&& rm dotnet-install.sh \

scripts/Docker/debian/clang-cross/10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ RUN . /etc/skia-env \
6666
# Install the .NET SDK
6767
ARG DOTNET_SDK_VERSION=8.0
6868
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
69-
RUN curl https://dot.net/v1/dotnet-install.sh -L -o dotnet-install.sh \
69+
RUN curl https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh -L -o dotnet-install.sh \
7070
&& bash dotnet-install.sh --channel ${DOTNET_SDK_VERSION} --install-dir /usr/share/dotnet --verbose \
7171
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet \
7272
&& rm dotnet-install.sh \

scripts/Docker/debian/clang-cross/12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ RUN . /etc/skia-env \
6666
# Install the .NET SDK
6767
ARG DOTNET_SDK_VERSION=8.0
6868
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
69-
RUN curl https://dot.net/v1/dotnet-install.sh -L -o dotnet-install.sh \
69+
RUN curl https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh -L -o dotnet-install.sh \
7070
&& bash dotnet-install.sh --channel ${DOTNET_SDK_VERSION} --install-dir /usr/share/dotnet --verbose \
7171
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet \
7272
&& rm dotnet-install.sh \

scripts/install-dotnet.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ if (Test-Path $dotnetDll) {
1111
Write-Host ".NET already installed."
1212
} else {
1313
if ($IsMacOS -or $IsLinux) {
14-
$url = "https://dot.net/v1/dotnet-install.sh"
14+
$url = "https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh"
1515
} else {
16-
$url = "https://dot.net/v1/dotnet-install.ps1"
16+
$url = "https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.ps1"
1717
}
1818

1919
Write-Host "Downloading .NET Installer..."

0 commit comments

Comments
 (0)