Skip to content

Commit

Permalink
Upgrade to ruby 3.3.0
Browse files Browse the repository at this point in the history
* Upgrade ruby in .tool-versions
* Update Gemfile
* Update docker file. Use 3.3.0-alpine for build and runtime images
* Update bundler version in Gemfile.lock to fix deprecation warnings
  • Loading branch information
gpeng committed Jan 26, 2024
1 parent f407d64 commit 0560b35
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-3.2.2
ruby-3.3.0
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
azure-cli 2.48.1
nodejs 19.6.0
postgres 13.5
ruby 3.2.2
ruby 3.3.0
terraform 1.4.6
yarn 1.22.19
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# production: runs the actual app

# Build builder image
FROM ruby:3.2.2-alpine as builder
FROM ruby:3.3.0-alpine as builder

# RUN apk -U upgrade && \
# apk add --update --no-cache gcc git libc6-compat libc-dev make nodejs \
Expand Down Expand Up @@ -58,7 +58,7 @@ RUN rm -rf node_modules log/* tmp/* /tmp && \
find /usr/local/bundle/gems -name "*.html" -delete

# Build runtime image
FROM ruby:3.2.2-alpine as production
FROM ruby:3.3.0-alpine as production

# Upgrade ssl, crypto and curl libraries to latest version
RUN apk upgrade --no-cache openssl libssl3 libcrypto3 curl
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "3.2.2"
ruby "3.3.0"

gem "rails", "~> 7.1.3"

Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ DEPENDENCIES
webmock

RUBY VERSION
ruby 3.2.2p53
ruby 3.3.0p0

BUNDLED WITH
2.1.2
2.5.5

0 comments on commit 0560b35

Please sign in to comment.