Skip to content

Commit

Permalink
assume remaining 2.x versions of ruby aren't bullseye
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Feb 14, 2023
1 parent c7f85b2 commit cd2ae15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/generators/dockerfile_generator.rb
Expand Up @@ -276,10 +276,12 @@ def build_packages
# is based on debian release included with the Ruby images on
# Dockerhub.
case RUBY_VERSION
when /^2.7/
when /^2\.7/
bullseye = RUBY_VERSION >= "2.7.4"
when /^3.0/
when /^3\.0/
bullseye = RUBY_VERSION >= "3.0.2"
when /^2\./
bullseye = false
else
bullseye = true
end
Expand Down

0 comments on commit cd2ae15

Please sign in to comment.