fix: update ruby to 3.0.5 and docker to alpine3.15

This commit is contained in:
Vishnu Narayanan 2022-12-05 22:34:44 +05:30
parent c3b6e1a732
commit 31dc1a3dfc
No known key found for this signature in database
GPG key ID: 000B7FD5001541AC
4 changed files with 6 additions and 6 deletions

View file

@ -1 +1 @@
3.0.4 3.0.5

View file

@ -1,6 +1,6 @@
source 'https://rubygems.org' source 'https://rubygems.org'
ruby '3.0.4' ruby '3.0.5'
##-- base gems for rails --## ##-- base gems for rails --##
gem 'rack-cors', require: 'rack/cors' gem 'rack-cors', require: 'rack/cors'

View file

@ -805,7 +805,7 @@ DEPENDENCIES
working_hours working_hours
RUBY VERSION RUBY VERSION
ruby 3.0.4p208 ruby 3.0.5p211
BUNDLED WITH BUNDLED WITH
2.3.16 2.3.26

View file

@ -1,5 +1,5 @@
# pre-build stage # pre-build stage
FROM ruby:3.0.4-alpine AS pre-builder FROM ruby:3.0.5-alpine AS pre-builder
# ARG default to production settings # ARG default to production settings
# For development docker-compose file overrides ARGS # For development docker-compose file overrides ARGS
@ -65,7 +65,7 @@ RUN rm -rf /gems/ruby/3.0.0/cache/*.gem \
&& find /gems/ruby/3.0.0/gems/ \( -name "*.c" -o -name "*.o" \) -delete && find /gems/ruby/3.0.0/gems/ \( -name "*.c" -o -name "*.o" \) -delete
# final build stage # final build stage
FROM ruby:3.0.4-alpine FROM ruby:3.0.5-alpine
ARG BUNDLE_WITHOUT="development:test" ARG BUNDLE_WITHOUT="development:test"
ENV BUNDLE_WITHOUT ${BUNDLE_WITHOUT} ENV BUNDLE_WITHOUT ${BUNDLE_WITHOUT}