fix: make sure bundler is installed in the image

accidentally removed in #882
This commit is contained in:
Mike Dalessio
2025-08-11 14:46:35 -04:00
parent 9e827a194a
commit 3683ec2cf2
+1
View File
@@ -25,6 +25,7 @@ RUN apt-get update -qq && \
# Install application gems # Install application gems
COPY Gemfile Gemfile.lock .ruby-version ./ COPY Gemfile Gemfile.lock .ruby-version ./
RUN --mount=type=secret,id=GITHUB_TOKEN --mount=type=cache,id=fizzy-permabundle-${RUBY_VERSION},sharing=locked,target=/permabundle \ RUN --mount=type=secret,id=GITHUB_TOKEN --mount=type=cache,id=fizzy-permabundle-${RUBY_VERSION},sharing=locked,target=/permabundle \
gem install bundler && \
BUNDLE_PATH=/permabundle BUNDLE_GITHUB__COM="$(cat /run/secrets/GITHUB_TOKEN):x-oauth-basic" bundle install && \ BUNDLE_PATH=/permabundle BUNDLE_GITHUB__COM="$(cat /run/secrets/GITHUB_TOKEN):x-oauth-basic" bundle install && \
cp -a /permabundle/. "$BUNDLE_PATH"/ && \ cp -a /permabundle/. "$BUNDLE_PATH"/ && \
bundle clean --force && \ bundle clean --force && \