From 4bfdbb736d7d4d93c36e6775b3f2285a16d49271 Mon Sep 17 00:00:00 2001 From: Patrik Ragnarsson Date: Mon, 17 Jan 2022 22:47:16 +0100 Subject: [PATCH] Use Ruby 3.1 in our Dockerfile (#2802) Ruby 2.6 reaches EoL soon. [ci skip] --- CONTRIBUTING.md | 2 +- tools/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3e23cbb6d0..ca2cca5745 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -156,7 +156,7 @@ bundle exec puma -C test/config/settings.rb test/rackup/hello.ru There is also a Dockerfile available for reproducing Linux-specific issues: ```sh -docker build -f tools/docker/Dockerfile -t puma . +docker build -f tools/Dockerfile -t puma . docker run -p 9292:9292 -it puma ``` diff --git a/tools/Dockerfile b/tools/Dockerfile index af2fb0e269..bf61657001 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -1,6 +1,6 @@ # Use this Dockerfile to create minimal reproductions of issues -FROM ruby:2.6 +FROM ruby:3.1 # throw errors if Gemfile has been modified since Gemfile.lock RUN bundle config --global frozen 1