From bade53012ee55cd6607f4c85dcb21cf51295cec8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 5 Sep 2024 16:47:58 +0000 Subject: [PATCH] fix: modules/openapi-generator/src/main/resources/ruby-sinatra-server/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 --- .../src/main/resources/ruby-sinatra-server/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/ruby-sinatra-server/Dockerfile b/modules/openapi-generator/src/main/resources/ruby-sinatra-server/Dockerfile index 41be83d48ece..887dcdf98943 100644 --- a/modules/openapi-generator/src/main/resources/ruby-sinatra-server/Dockerfile +++ b/modules/openapi-generator/src/main/resources/ruby-sinatra-server/Dockerfile @@ -1,5 +1,5 @@ ## Build libraries -FROM ruby:3.0-alpine as rubydev +FROM ruby:3.3.5-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.3.5-alpine RUN apk --no-cache add tzdata ## ca-certificates