mirror of
https://github.com/anchore/syft.git
synced 2026-05-20 04:05:24 +02:00
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 <wagoodman@users.noreply.github.com>
This commit is contained in:
parent
076fb211cc
commit
89e4e609d5
@ -1,6 +1,6 @@
|
|||||||
FROM --platform=linux/amd64 alpine:latest AS builder
|
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
|
FROM scratch
|
||||||
|
|
||||||
|
|||||||
@ -73,7 +73,7 @@ RUN dotnet publish -r $RUNTIME --no-restore -o /app
|
|||||||
# > Humanizer.Core.zh-Hant 2.14.1
|
# > 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)
|
# 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
|
FROM busybox
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user