Skip to content

Commit

Permalink
fix: samples/server/petstore/ruby-sinatra/Dockerfile to reduce vulner…
Browse files Browse the repository at this point in the history
…abilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE316-BUSYBOX-6913410
- https://snyk.io/vuln/SNYK-ALPINE316-BUSYBOX-6913410
  • Loading branch information
snyk-bot committed Nov 14, 2024
1 parent 0b37b59 commit e967bed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/server/petstore/ruby-sinatra/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Build libraries
FROM ruby:3.0-alpine as rubydev
FROM ruby:3.3.6-alpine as rubydev

## for thin or falcon
#RUN apk --no-cache add make g++ libc-dev
Expand All @@ -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.6-alpine

RUN apk --no-cache add tzdata ## ca-certificates

Expand Down

0 comments on commit e967bed

Please sign in to comment.