From 8457cfd30680e4a2ed8c8838f91427d5c03ff70b Mon Sep 17 00:00:00 2001 From: Tim Kuntz Date: Thu, 4 Apr 2024 12:31:11 -0500 Subject: [PATCH] Fix Rails 6.x Docker images --- meta_request/Dockerfile-rails-6.0 | 3 ++- meta_request/Dockerfile-rails-6.1 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meta_request/Dockerfile-rails-6.0 b/meta_request/Dockerfile-rails-6.0 index 5205b8c..d301567 100644 --- a/meta_request/Dockerfile-rails-6.0 +++ b/meta_request/Dockerfile-rails-6.0 @@ -3,6 +3,7 @@ FROM ruby:2.6-alpine RUN apk add --update --no-cache \ build-base \ curl-dev \ + gcompat \ git \ nodejs \ shared-mime-info \ @@ -15,7 +16,7 @@ RUN apk add --update --no-cache \ RUN mkdir /app /gem WORKDIR /app -RUN gem update --system +RUN gem update --system 3.4.22 RUN gem install rails -v 6.0.6 RUN rails new . diff --git a/meta_request/Dockerfile-rails-6.1 b/meta_request/Dockerfile-rails-6.1 index 7475cef..731e2d9 100644 --- a/meta_request/Dockerfile-rails-6.1 +++ b/meta_request/Dockerfile-rails-6.1 @@ -3,6 +3,7 @@ FROM ruby:2.6-alpine RUN apk add --update --no-cache \ build-base \ curl-dev \ + gcompat \ git \ nodejs \ shared-mime-info \ @@ -15,7 +16,7 @@ RUN apk add --update --no-cache \ RUN mkdir /app /gem WORKDIR /app -RUN gem update --system +RUN gem update --system 3.4.22 RUN gem install rails -v 6.1.7 RUN rails new .