Skip to content

Latest commit

 

History

History
112 lines (100 loc) · 3.48 KB

builds-chaining-builds.adoc

File metadata and controls

112 lines (100 loc) · 3.48 KB

Chained builds

For compiled languages (such as Go, C, C++, and Java), including the dependencies necessary for compilation in the application image might increase the size of the image or introduce vulnerabilities that can be exploited.

To avoid these problems, two builds can be chained together: one that produces the compiled artifact, and a second build that places that artifact in a separate image that runs the artifact.