From 1bc9278dc86250631805122742ffc489a8d03e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thiago=20Anuncia=C3=A7=C3=A3o?= Date: Mon, 23 Oct 2023 16:57:03 -0300 Subject: [PATCH] fix docker and gemfile --- .ruby-version | 2 +- Dockerfile | 5 +++-- Gemfile.lock | 14 +++++++------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.ruby-version b/.ruby-version index 4fd0fe3..e0e1b46 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.5.1 \ No newline at end of file +2.6.9 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 13bf8c1..75d4616 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.6-alpine +FROM --platform=linux/x86_64 ruby:2.6-alpine LABEL Name=achievemore-ruby Version=2.6 @@ -9,7 +9,8 @@ RUN gem update bundler RUN apk --update --upgrade --no-cache add \ build-base \ sqlite-dev \ - tzdata + tzdata \ + shared-mime-info RUN apk --update add less diff --git a/Gemfile.lock b/Gemfile.lock index 37e50ed..d790f4a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -48,8 +48,8 @@ GEM minitest (~> 5.1) tzinfo (~> 1.1) arel (9.0.0) - bootsnap (1.4.5) - msgpack (~> 1.0) + bootsnap (1.16.0) + msgpack (~> 1.2) builder (3.2.4) byebug (11.0.1) case_transform (0.2) @@ -61,7 +61,7 @@ GEM erubi (1.10.0) factory_bot (5.0.2) activesupport (>= 4.2.0) - ffi (1.11.1) + ffi (1.16.3) globalid (1.0.0) activesupport (>= 5.0) i18n (1.8.11) @@ -83,16 +83,16 @@ GEM nokogiri (~> 1) rake mini_mime (1.1.2) - mini_portile2 (2.8.1) + mini_portile2 (2.8.5) minitest (5.15.0) - msgpack (1.3.1) + msgpack (1.7.2) nio4r (2.5.8) nokogiri (1.13.10) mini_portile2 (~> 2.8.0) racc (~> 1.4) puma (4.3.10) nio4r (~> 2.0) - racc (1.6.2) + racc (1.7.1) rack (2.2.6.2) rack-test (1.1.0) rack (>= 1.0, < 3) @@ -184,4 +184,4 @@ RUBY VERSION ruby 2.6.9p207 BUNDLED WITH - 2.3.5 + 2.4.21