Skip to content

Commit

Permalink
Merge pull request #275 from tomohiro/ruby-2.7.2
Browse files Browse the repository at this point in the history
Update Ruby version to 2.7.2
  • Loading branch information
tomohiro committed Oct 22, 2020
2 parents 78489b9 + 61cbcbd commit cd33aaf
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 @@
2.7.1
2.7.2
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sudo: false

language: ruby
rvm:
- 2.7.1
- 2.7.2

cache: bundler

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Build for install dependency RubyGems
FROM ruby:2.7.1-alpine3.11 AS bundle
FROM ruby:2.7.2-alpine3.11 AS bundle

COPY Gemfile .
COPY Gemfile.lock .

RUN set -ex \
&& apk add --update --no-cache curl=7.67.0-r0 build-base=0.5-r1 \
&& apk add --update --no-cache curl=7.67.0-r1 build-base=0.5-r1 \
&& bundle config frozen true \
&& bundle install --jobs=4 --without="test:development" \
&& rm -rf "${BUNDLE_PATH}/cache/*"

# Build for Sinatra app
FROM ruby:2.7.1-alpine3.11
FROM ruby:2.7.2-alpine3.11
COPY --from=bundle ${BUNDLE_PATH} ${BUNDLE_PATH}

ENV RACK_ENV=deployment
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

source 'https://rubygems.org'
ruby '2.7.1'
ruby '2.7.2'

gem 'fluentd'
gem 'haml'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ DEPENDENCIES
sinatra

RUBY VERSION
ruby 2.7.1p83
ruby 2.7.2p137

BUNDLED WITH
2.1.4

0 comments on commit cd33aaf

Please sign in to comment.