From bf59253015718dfc9799bc14949fcf5176c170db Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 15 Oct 2025 06:43:08 +0000 Subject: [PATCH] fix: samples/server/petstore/ruby-sinatra/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE316-BUSYBOX-6913410 - https://snyk.io/vuln/SNYK-ALPINE316-BUSYBOX-6913410 - https://snyk.io/vuln/SNYK-ALPINE316-MUSL-8720632 - https://snyk.io/vuln/SNYK-ALPINE316-MUSL-8720632 --- samples/server/petstore/ruby-sinatra/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/server/petstore/ruby-sinatra/Dockerfile b/samples/server/petstore/ruby-sinatra/Dockerfile index 41be83d48ece..89354e4ad170 100644 --- a/samples/server/petstore/ruby-sinatra/Dockerfile +++ b/samples/server/petstore/ruby-sinatra/Dockerfile @@ -1,5 +1,5 @@ ## Build libraries -FROM ruby:3.0-alpine as rubydev +FROM ruby:3.4.7-alpine as rubydev ## for thin or falcon #RUN apk --no-cache add make g++ libc-dev @@ -13,7 +13,7 @@ RUN bundle config set path lib RUN bundle install ## Build Runtime image -FROM ruby:3.0-alpine +FROM ruby:3.4.7-alpine RUN apk --no-cache add tzdata ## ca-certificates