From 9e523750ee8526e3a4da4dcde3d467e88caf8dfc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 10 Jul 2025 16:50:18 +0000 Subject: [PATCH] fix: images/benchmarks/ruby/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE39-OPENSSL-1089232 - https://snyk.io/vuln/SNYK-ALPINE39-OPENSSL-1089232 - https://snyk.io/vuln/SNYK-ALPINE39-OPENSSL-1089235 - https://snyk.io/vuln/SNYK-ALPINE39-OPENSSL-1089235 - https://snyk.io/vuln/SNYK-ALPINE39-MUSL-1042761 --- images/benchmarks/ruby/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 images/benchmarks/ruby/Dockerfile diff --git a/images/benchmarks/ruby/Dockerfile b/images/benchmarks/ruby/Dockerfile old mode 100755 new mode 100644 index 13c4f6eed0..052c6953ec --- a/images/benchmarks/ruby/Dockerfile +++ b/images/benchmarks/ruby/Dockerfile @@ -1,5 +1,5 @@ # example based on https://github.com/errm/fib -FROM alpine:3.9 as build +FROM alpine:3.21.3 as build COPY Gemfile Gemfile.lock ./ @@ -8,7 +8,7 @@ RUN apk add --no-cache ruby ruby-dev ruby-bundler ruby-json build-base bash \ && apk del --no-cache ruby-bundler \ && rm -rf /usr/lib/ruby/gems/*/cache -FROM alpine:3.9 as prod +FROM alpine:3.21.3 as prod COPY --from=build /usr/lib/ruby/gems /usr/lib/ruby/gems RUN apk add --no-cache ruby ruby-json ruby-etc redis apache2-utils \