Skip to content

WIP: Build image using Debian package

Fabien Catteau requested to merge 13477-debian-pkg into master

What does this MR do?

  • Build a Debian package, to be used instead directly of the Docker image.
  • Build the Docker using the aforementioned Debian package

The Docker image is backward compatible with the existing job definitions.

The before-script of the package performs the following tasks if needed:

  • install bundler
  • install bundler-audit
  • clone ruby-advisory-db

These tasks are skipped if the dependencies are already met, making possible to run in an air-gapped environment.

See pipelines using the distro packages in the ruby-bundler test project:

TODO

  • Add package dependencies (ruby)
  • Add package metadata
  • Don't run the analyzer as root

What are the relevant issue numbers?

gitlab-org/gitlab#13477 (closed)

Does this MR meet the acceptance criteria?

Edited by Fabien Catteau

Merge request reports