From 30af4f19b0c2ca61c6a42f94a239548c8f93a9c1 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 6 Dec 2021 20:09:50 -0300 Subject: [PATCH] Actualizar ruby --- Dockerfile | 8 ++++---- Gemfile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index a887ea7..5aed170 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # el mismo repositorio de trabajo. Cuando tengamos CI/CD algunas cosas # como el tarball van a tener que cambiar porque ya vamos a haber hecho # un clone/pull limpio. -FROM alpine:3.13.5 AS build +FROM alpine:3.13.6 AS build MAINTAINER "sutty " ARG RAILS_MASTER_KEY @@ -16,7 +16,7 @@ ENV RAILS_MASTER_KEY=$RAILS_MASTER_KEY RUN apk add --no-cache libxslt libxml2 tzdata ruby ruby-bundler ruby-json ruby-bigdecimal ruby-rake postgresql-libs -RUN test "2.7.3" = `ruby -e 'puts RUBY_VERSION'` +RUN test "2.7.5" = `ruby -e 'puts RUBY_VERSION'` # https://github.com/rubygems/rubygems/issues/2918 # https://gitlab.alpinelinux.org/alpine/aports/issues/10808 @@ -67,7 +67,7 @@ RUN apk add --no-cache findutils RUN find /home/app/checkout/vendor/ruby/2.7.0 -maxdepth 3 -type d -name test -o -name spec -o -name rubocop | xargs -r rm -rf # Contenedor final -FROM sutty/monit:latest +FROM registry.nulo.in/sutty/monit:3.13.6 ENV RAILS_ENV production # Instalar las dependencias, separamos la librería de base de datos para @@ -76,7 +76,7 @@ RUN apk add --no-cache libxslt libxml2 tzdata ruby ruby-bundler ruby-json ruby-b RUN apk add --no-cache postgresql-libs # Chequear que la versión de ruby sea la correcta -RUN test "2.7.3" = `ruby -e 'puts RUBY_VERSION'` +RUN test "2.7.5" = `ruby -e 'puts RUBY_VERSION'` # https://github.com/rubygems/rubygems/issues/2918 # https://gitlab.alpinelinux.org/alpine/aports/issues/10808 diff --git a/Gemfile b/Gemfile index 1b5edbd..7c63430 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source 'https://gems.sutty.nl' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby '2.7.3' +ruby '~>2.7.0' # Blazer: 'blazer', github: https://github.com/ankane/blazer gem 'blazer'