From a8dd9066c562f90a3cc3f7724346164bc8e609e1 Mon Sep 17 00:00:00 2001 From: "@milesibastos" Date: Wed, 21 Aug 2024 21:55:00 -0300 Subject: [PATCH] fix: gem install grpc takes lot of time to complete --- docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 418b5a516adfb..c8fafa032ca54 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -42,6 +42,9 @@ COPY Gemfile Gemfile.lock ./ RUN apk update && apk add --no-cache build-base musl ruby-full ruby-dev gcc make musl-dev openssl openssl-dev g++ linux-headers xz vips RUN bundle config set --local force_ruby_platform true +# https://github.com/grpc/grpc/issues/29489#issuecomment-1108496534 +RUN gem install grpc:1.62.0 + # Do not install development or test gems in production RUN if [ "$RAILS_ENV" = "production" ]; then \ bundle config set without 'development test'; bundle install -j 4 -r 3; \