-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit migrates our Ruby version to the mostly recent one (2.7.2). Also upgraded some dependencies that wasn't working on 2.7 version.
- Loading branch information
1 parent
152414d
commit 2fa2f9c
Showing
7 changed files
with
36 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
language: ruby | ||
rvm: | ||
- 2.5.0 | ||
- 2.7.2 | ||
services: | ||
- postgresql | ||
before_install: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# build stage | ||
FROM ruby:2.5.0-alpine AS builder | ||
FROM ruby:2.7.2-alpine AS builder | ||
|
||
ARG build_without | ||
ARG rails_env="development" | ||
|
@@ -33,7 +33,7 @@ RUN bundle install && yarn && bundle exec rake assets:precompile \ | |
&& rm -rf $to_remove | ||
|
||
# final stage | ||
FROM ruby:2.5.0-alpine | ||
FROM ruby:2.7.2-alpine | ||
LABEL maintainer="[email protected]" | ||
|
||
ARG extra_packages | ||
|
@@ -54,4 +54,4 @@ WORKDIR /var/app | |
|
||
EXPOSE 3000 | ||
|
||
CMD bin/rails s -b 0.0.0.0 | ||
CMD bin/rails s -b 0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# frozen_string_literal: true | ||
|
||
ruby '2.5.0' | ||
ruby '2.7.2' | ||
|
||
source 'https://rubygems.org' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters