From 89e4e609d54268821bbc802c57f1c296b78f13b0 Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Mon, 20 Apr 2026 09:12:09 -0400 Subject: [PATCH] fix: update jruby download URLs from S3 to GitHub Releases (#4799) The JRuby project migrated their downloads from S3 to GitHub Releases, causing the old S3 URLs to return HTTP 403 Forbidden and breaking test fixture image builds. Signed-off-by: Alex Goodman --- syft/pkg/cataloger/binary/testdata/image-jruby/Dockerfile | 2 +- syft/pkg/cataloger/dotnet/testdata/image-net8-app/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/syft/pkg/cataloger/binary/testdata/image-jruby/Dockerfile b/syft/pkg/cataloger/binary/testdata/image-jruby/Dockerfile index 738a5220c..ace38a8d8 100644 --- a/syft/pkg/cataloger/binary/testdata/image-jruby/Dockerfile +++ b/syft/pkg/cataloger/binary/testdata/image-jruby/Dockerfile @@ -1,6 +1,6 @@ FROM --platform=linux/amd64 alpine:latest AS builder -RUN wget -O jruby_windows_9_3_15_0.exe https://s3.amazonaws.com/jruby.org/downloads/9.3.15.0/jruby_windows_9_3_15_0.exe +RUN wget -O jruby_windows_9_3_15_0.exe https://github.com/jruby/jruby/releases/download/9.3.15.0/jruby_windows_9_3_15_0.exe FROM scratch diff --git a/syft/pkg/cataloger/dotnet/testdata/image-net8-app/Dockerfile b/syft/pkg/cataloger/dotnet/testdata/image-net8-app/Dockerfile index c3ce13e39..8afe7e726 100644 --- a/syft/pkg/cataloger/dotnet/testdata/image-net8-app/Dockerfile +++ b/syft/pkg/cataloger/dotnet/testdata/image-net8-app/Dockerfile @@ -73,7 +73,7 @@ RUN dotnet publish -r $RUNTIME --no-restore -o /app # > Humanizer.Core.zh-Hant 2.14.1 # lets pull in a file that is not related at all and in fact is not a .NET binary either (this should be ignored) -RUN wget -O /app/jruby_windows_9_3_15_0.exe https://s3.amazonaws.com/jruby.org/downloads/9.3.15.0/jruby_windows_9_3_15_0.exe +RUN wget -O /app/jruby_windows_9_3_15_0.exe https://github.com/jruby/jruby/releases/download/9.3.15.0/jruby_windows_9_3_15_0.exe FROM busybox WORKDIR /app