diff --git a/.rubocop.yml b/.rubocop.yml index 381cf7813..7cf5f3c07 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,7 +4,7 @@ AllCops: - 'tmp/**/*' - 'tools/**/*' - 'doc/**/*' - TargetRubyVersion: 3.0 + TargetRubyVersion: <%= File.read(".ruby-version").strip[/^(\d+\.\d+)/, 1] || raise("Ruby version not found") %> NewCops: enable Layout/LineLength: diff --git a/.ruby-version b/.ruby-version index acf9bf09d..2aa513199 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.2 \ No newline at end of file +3.4.7 diff --git a/Dockerfile b/Dockerfile index 75ffa8387..7647faf6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ ########################################################################################################### # ---------------------------- Start of Builder 0 - Gemset Build ------------------------------------------ -FROM ruby:3.2.1-slim-bullseye AS builder +FROM ruby:3.4.7-slim-bullseye AS builder COPY . /beef @@ -44,7 +44,7 @@ RUN echo "gem: --no-ri --no-rdoc" > /etc/gemrc \ # ---------------------------- Start of Builder 1 - Final Build ------------------------------------------ -FROM ruby:3.2.1-slim-bullseye +FROM ruby:3.4.7-slim-bullseye LABEL maintainer="Beef Project" \ source_url="github.com/beefproject/beef" \ homepage="https://beefproject.com/"