Ruby update
/ test (push) Waiting to run Details

This commit is contained in:
Trevor Vallender 2024-05-15 20:44:36 +01:00
parent c12bf6caf6
commit 915ba8ec23
5 changed files with 8 additions and 9 deletions

View File

@ -1 +1 @@
3.2.2
3.3.1

View File

@ -1,4 +1,4 @@
ARG RUBY_VERSION=3.2.2
ARG RUBY_VERSION=3.3.1
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base
# Rails app lives here
@ -17,15 +17,14 @@ FROM base as build
RUN apt-get update -qq && \
apt-get install --no-install-recommends -y build-essential curl git libpq-dev libvips pkg-config
# Copy application code
COPY . .
# Install application gems
COPY Gemfile Gemfile.lock ./
RUN bundle install && \
rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \
bundle exec bootsnap precompile --gemfile
# Copy application code
COPY . .
# Precompile bootsnap code for faster boot times
RUN bundle exec bootsnap precompile app/ lib/

View File

@ -1,7 +1,7 @@
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby "3.2.2"
ruby file: "./.ruby-version"
gem "rails", "~> 7.1"
gem "sprockets-rails"

View File

@ -288,7 +288,7 @@ DEPENDENCIES
web-console
RUBY VERSION
ruby 3.2.2p53
ruby 3.3.1p55
BUNDLED WITH
2.4.19

View File

@ -41,7 +41,7 @@ ssh:
builder:
args:
APPLICATION_HOST: tsvallender.co.uk
RUBY_VERSION: 3.2.2
RUBY_VERSION: 3.3.1
remote:
arch: arm64
host: ssh://kamal@tsvallender.co.uk