From be78b6ed6dc144f66ade40f9a48a16bf52f1b22d Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Thu, 15 Jun 2023 21:12:37 +0900 Subject: [PATCH] Use Debian 11 "bullseye" based Ruby Docker image This commit changes Ruby Docker images for 3.1 and 3.2 from Debian 12 "bookworm" based to Debian 11 "bullseye". Until we address the root cause of https://github.com/rails/rails/issues/48483 Refer to https://github.com/docker-library/ruby/pull/415 --- pipeline-generate | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pipeline-generate b/pipeline-generate index afd57c8..31f8a8a 100755 --- a/pipeline-generate +++ b/pipeline-generate @@ -60,7 +60,11 @@ RUBIES = [] SOFT_FAIL = [] RUBY_MINORS.select { |v| v >= MIN_RUBY }.each do |v| - image = "ruby:#{v}" + if Gem::Version.new(v) >= Gem::Version.new("3.1") + image = "ruby:#{v}-bullseye" + else + image = "ruby:#{v}" + end if MAX_RUBY && v > MAX_RUBY && !(MAX_RUBY.approximate_recommendation === v) SOFT_FAIL << image