From e48ce4d85314c65ad9937c3c8930f57fe71a929e Mon Sep 17 00:00:00 2001 From: Ross Light Date: Wed, 29 Sep 2021 10:45:41 -0700 Subject: [PATCH] Use official Apache Ant site instead of mirror (#330) [Fixes sc-5859] --- internal/buildpack/ant.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/buildpack/ant.go b/internal/buildpack/ant.go index ace5a881..a999fb8f 100644 --- a/internal/buildpack/ant.go +++ b/internal/buildpack/ant.go @@ -24,7 +24,7 @@ func installAnt(ctx context.Context, sys Sys, spec yb.BuildpackSpec) (biome.Envi } log.Infof(ctx, "Installing Ant v%s in %s", spec.Version(), antDir) - downloadURL := fmt.Sprintf("https://mirrors.sonic.net/apache/ant/binaries/apache-ant-%s-bin.zip", spec.Version()) + downloadURL := fmt.Sprintf("https://archive.apache.org/dist/ant/binaries/apache-ant-%s-bin.zip", spec.Version()) if err := extract(ctx, sys, antDir, downloadURL, stripTopDirectory); err != nil { return biome.Environment{}, err }