From 5a9d92b642d030e9efa23326dfb17e171a9cfc9c Mon Sep 17 00:00:00 2001 From: hangy Date: Wed, 25 Jun 2025 22:16:49 +0200 Subject: [PATCH] fix: Update download URL of the Azure DevOps agent https://vstsagentpackage.azureedge.net has been deprecated in favour of https://download.agent.dev.azure.com Source: https://devblogs.microsoft.com/devops/cdn-domain-url-change-for-agents-in-pipelines/ --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 51b3dfe..fc8349a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,8 +33,7 @@ RUN apt-get update && apt-get -y upgrade # Download and extract the Azure DevOps Agent RUN printenv \ && echo "Downloading Azure DevOps Agent version ${ARG_VSTS_AGENT_VERSION} for ${ARG_TARGETARCH}" -RUN curl -LsS https://vstsagentpackage.azureedge.net/agent/${ARG_VSTS_AGENT_VERSION}/vsts-agent-${ARG_TARGETARCH}-${ARG_VSTS_AGENT_VERSION}.tar.gz | tar -xz - +RUN curl -LsS https://download.agent.dev.azure.com/agent/${ARG_VSTS_AGENT_VERSION}/vsts-agent-${ARG_TARGETARCH}-${ARG_VSTS_AGENT_VERSION}.tar.gz | tar -xz # Install Azure CLI & Azure DevOps extension