From 30e5f60340fc3f9e4812179ef342ece0771baf9c Mon Sep 17 00:00:00 2001 From: Matthieu Baudoux Date: Fri, 16 Feb 2024 12:40:14 +0100 Subject: [PATCH] Fix Dockerfile issue: incompatible Ruby version While using the provided Dockerfile an error is generated: ``` 44.04 ERROR: Error installing bundler: 44.04 The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with `gem install bundler -v 2.4.22` 44.04 bundler requires Ruby version >= 3.0.0. The current ruby version is 2.6.10.210. ``` Honouring the suggestion the image is now based on ruby:3.0-slim --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 077ef3b18a8..1b5c1c156ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.6-slim +FROM ruby:3.0-slim WORKDIR /srv/slate