Skip to content

Add bundle install to image build

Evan Read requested to merge eread/add-bundle-install-to-image-build into main

When building docs-latest Docker image, if a Ruby dependency is updated (!2275 (merged)) but a dependent Docker image isn't updated to use the new dependencies, build errors can occur: https://gitlab.com/gitlab-org/gitlab-docs/-/jobs/1808429726.

This MR adds bundle install to the process to pick up any uninstalled Ruby dependencies, and basically matches the yarn install there for Node.js dependencies.

CC @kpaizee @marcel.amirault @cnorris just FYI

Merge request reports