master #1

Merged
lino.jorzick merged 203 commits from External/greenlight:master into master 2021-10-02 18:19:43 +00:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit c5b00e89aa - Show all commits

View File

@ -1 +1 @@
2.5.1
2.7.2

View File

@ -1,4 +1,4 @@
FROM ruby:2.5.1-alpine AS base
FROM ruby:2.7.2-alpine AS base
# Set a variable for the install location.
ARG RAILS_ROOT=/usr/src/app
@ -24,9 +24,9 @@ COPY Gemfile Gemfile.lock $RAILS_ROOT/
RUN bundle config --global frozen 1 \
&& bundle install --deployment --without development:test:assets -j4 --path=vendor/bundle \
&& rm -rf vendor/bundle/ruby/2.5.0/cache/*.gem \
&& find vendor/bundle/ruby/2.5.0/gems/ -name "*.c" -delete \
&& find vendor/bundle/ruby/2.5.0/gems/ -name "*.o" -delete
&& rm -rf vendor/bundle/ruby/2.7.0/cache/*.gem \
&& find vendor/bundle/ruby/2.7.0/gems/ -name "*.c" -delete \
&& find vendor/bundle/ruby/2.7.0/gems/ -name "*.o" -delete
# Adding project files.
COPY . .
@ -36,7 +36,7 @@ RUN rm -rf tmp/cache spec
############### Build step done ###############
FROM ruby:2.5.1-alpine
FROM ruby:2.7.2-alpine
# Set a variable for the install location.
ARG RAILS_ROOT=/usr/src/app