From ee79d134f1364e8fe0a9c2205d7a23270c655a5a Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Fri, 18 Jul 2025 14:17:58 +0200 Subject: [PATCH] Make sure it uses latest bundler to prevent error due to mismatch --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 1354e97fc..0faa475f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ RUN apt-get update -qq && \ # Install application gems COPY Gemfile Gemfile.lock .ruby-version ./ RUN --mount=type=secret,id=GITHUB_TOKEN \ + gem install bundler &&\ BUNDLE_GITHUB__COM="$(cat /run/secrets/GITHUB_TOKEN):x-oauth-basic" bundle install && \ rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \ bundle exec bootsnap precompile --gemfile