Skip to content

Multi-stage gdk dockerfile

Andrejs Cunskis requested to merge andrey-gdk-multi-stage into master

What does this MR do and why?

Introduces multi-stage dockerfile for gdk build. This adds following improvements:

  • Separate components are now being built in parallel because stages are independent from one another
  • Changing one component does not invalidate cache for another component like in case of sequential steps in single docker stage
  • Cache is now exported to separate registry to support caching all of the stages (not supported by inline cache mode)
  • Fixes issue where empty .go folder created by ci before script or local .git folder would always invalidate docker cache
  • Add missing preinstall script for frontend dependencies

Closes #410241 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Andrejs Cunskis

Merge request reports