Skip to content

Commit

Permalink
Upgrade Ruby to v3.3.3
Browse files Browse the repository at this point in the history
Patch version with some minor upgrades and Bundler/Rubygems version
upgrades.
  • Loading branch information
scruti committed Jun 20, 2024
1 parent 556dab6 commit 2a2bed3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG RUBY_VERSION=3.3.2
ARG RUBY_VERSION=3.3.3
FROM ruby:${RUBY_VERSION}

ARG USERNAME=teaching-vacancies
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.2
3.3.3
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ruby 3.3.2
ruby 3.3.3
nodejs 18.4.0
yarn 1.22.17
terraform 1.5.1
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Some packages are defined here with a hardcoded version to resolve vulnerabilities in the packages coming with
# Alpine v3.19.
# TODO: Regularly check in the alpine ruby "3.3.2-alpine3.19" images for its latest upgraded packages so we can remove
# TODO: Regularly check in the alpine ruby "3.3.3-alpine3.19" images for its latest upgraded packages so we can remove
# the hardcoded versions below when they have been updated in the alpine ruby image.
ARG PROD_PACKAGES="imagemagick libpng libjpeg libxml2 libxslt libpq tzdata shared-mime-info postgresql15 busybox=1.36.1-r19"

FROM ruby:3.3.2-alpine3.19 AS builder
FROM ruby:3.3.3-alpine3.19 AS builder

WORKDIR /app

Expand Down Expand Up @@ -48,7 +48,7 @@ RUN rm -rf node_modules log tmp yarn.lock && \


# this stage reduces the image size.
FROM ruby:3.3.2-alpine3.19 AS production
FROM ruby:3.3.3-alpine3.19 AS production

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

ruby "3.3.2"
ruby "3.3.3"

RAILS_VERSION = "~> 7.1.2".freeze
gem "actionmailer", RAILS_VERSION
Expand Down
3 changes: 1 addition & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ GEM
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.2)
timeout
net-sftp (4.0.0)
Expand Down Expand Up @@ -818,7 +817,7 @@ DEPENDENCIES
zendesk_api

RUBY VERSION
ruby 3.3.2p78
ruby 3.3.3p89

BUNDLED WITH
2.3.5

0 comments on commit 2a2bed3

Please sign in to comment.