From 60fbb593b9b70fc74c4c3dc41b94131d8678d841 Mon Sep 17 00:00:00 2001 From: Miao Wang Date: Tue, 27 Aug 2024 19:45:07 +0800 Subject: [PATCH] ci: directly install specified bundler --- Dockerfile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.build b/Dockerfile.build index 3d0eee4..0f9d807 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -14,7 +14,7 @@ COPY Gemfile Gemfile.lock package.json package-lock.json /data/ COPY _node_module_patch /data/_node_module_patch RUN \ - gem install bundler && \ + gem install bundler -v "$(sed --silent -r '/BUNDLED WITH/,+1 {s/^[\t ]+//; p}' Gemfile.lock | tail -n +2)" && \ bundle install --frozen && \ NODE_ENV=production npm ci && \ mv node_modules ../ && \