Browse Source

Buildpack supports Ruby 3.1.2 now

pull/597/head
baarkerlounger 3 years ago
parent
commit
2f653da618
  1. 2
      .ruby-version
  2. 4
      Dockerfile
  3. 2
      Dockerfile_dev
  4. 2
      Gemfile
  5. 4
      Gemfile.lock

2
.ruby-version

@ -1 +1 @@
3.1.1 3.1.2

4
Dockerfile

@ -1,5 +1,5 @@
# Build compilation image # Build compilation image
FROM ruby:3.1.1-alpine as builder FROM ruby:3.1.2-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.1.1-alpine as production FROM ruby:3.1.2-alpine as production
# The application runs from /app # The application runs from /app
WORKDIR /app WORKDIR /app

2
Dockerfile_dev

@ -1,5 +1,5 @@
# Build compilation image # Build compilation image
FROM ruby:3.1.1-alpine FROM ruby:3.1.2-alpine
# 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.1.1" ruby "3.1.2"
# 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.2" gem "rails", "~> 7.0.2"

4
Gemfile.lock

@ -476,7 +476,7 @@ DEPENDENCIES
webmock webmock
RUBY VERSION RUBY VERSION
ruby 3.1.1p18 ruby 3.1.2p20
BUNDLED WITH BUNDLED WITH
2.3.12 2.3.14

Loading…
Cancel
Save