From aee73465c69d455f9e0db0e4e5a1f7b54ea3e92e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Sabat=C3=A9=20Sol=C3=A0?= Date: Sun, 14 Jul 2024 16:02:13 +0200 Subject: [PATCH] Bump to ruby 3.3.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also updated rack to fix a CVE. Signed-off-by: Miquel Sabaté Solà --- .ruby-version | 2 +- Dockerfile | 6 +++--- Gemfile | 2 +- Gemfile.lock | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.ruby-version b/.ruby-version index fefb2b7..6d5369b 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-3.3.3 +ruby-3.3.4 diff --git a/Dockerfile b/Dockerfile index eba01ff..af641b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ # syntax = docker/dockerfile:1 # Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile -ARG RUBY_VERSION=3.3.3 -FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base +ARG RUBY_VERSION=3.3.4 +FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base # Rails app lives here WORKDIR /rails @@ -15,7 +15,7 @@ ENV RAILS_ENV="production" \ # Throw-away build stage to reduce size of final image -FROM base as build +FROM base AS build # Install packages needed to build gems RUN apt-get update -qq && \ diff --git a/Gemfile b/Gemfile index 38a1c92..c4c194a 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' -ruby '3.3.3' +ruby '3.3.4' # Rails itself :) gem 'rails', '~> 7.1.3' diff --git a/Gemfile.lock b/Gemfile.lock index 1948831..86d15cb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -187,7 +187,7 @@ GEM puma (6.4.2) nio4r (~> 2.0) racc (1.8.0) - rack (3.1.4) + rack (3.1.7) rack-session (2.0.0) rack (>= 3.0.0) rack-test (2.1.0) @@ -345,7 +345,7 @@ DEPENDENCIES web-console RUBY VERSION - ruby 3.3.3p89 + ruby 3.3.4p94 BUNDLED WITH - 2.5.9 + 2.5.15