Browse Source

Bump ruby version

pull/178/head
baarkerlounger 3 years ago
parent
commit
dbf47d27c2
  1. 2
      .ruby-version
  2. 4
      Dockerfile
  3. 2
      Gemfile
  4. 4
      Gemfile.lock

2
.ruby-version

@ -1 +1 @@
3.0.2 3.0.3

4
Dockerfile

@ -1,5 +1,5 @@
# Build compilation image # Build compilation image
FROM ruby:3.0.2-alpine as builder FROM ruby:3.0.3-alpine as builder
# The application runs from /app # The application runs from /app
WORKDIR /app WORKDIR /app
@ -45,7 +45,7 @@ RUN rm -rf node_modules log tmp && \
find /usr/local/bundle/gems -name "*.html" -delete find /usr/local/bundle/gems -name "*.html" -delete
# Build runtime image # Build runtime image
FROM ruby:3.0.2-alpine as production FROM ruby:3.0.3-alpine as production
# The application runs from /app # The application runs from /app
WORKDIR /app WORKDIR /app

2
Gemfile

@ -3,7 +3,7 @@
source "https://rubygems.org" source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" } git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby "3.0.2" ruby "3.0.3"
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
gem "rails", "~> 7.0.0" gem "rails", "~> 7.0.0"

4
Gemfile.lock

@ -472,7 +472,7 @@ DEPENDENCIES
webpacker (~> 5.0) webpacker (~> 5.0)
RUBY VERSION RUBY VERSION
ruby 3.0.2p107 ruby 3.0.3p157
BUNDLED WITH BUNDLED WITH
2.2.22 2.2.32

Loading…
Cancel
Save