Image Squashing - CI/CD用語集の定義
image squashing は、複数の build layer をより少ない数(または 1 つ)に統合し、最終的なイメージサイズを削減して中間ファイルを隠します。ただしその代償として、イメージ間での layer 共有と cache の粒度を失います。
image squashing は、複数の build layer をより少ない数(または 1 つ)に統合し、最終的なイメージサイズを削減して中間ファイルを隠します。ただしその代償として、イメージ間での layer 共有と cache の粒度を失います。
image squashing は、複数の build layer をより少ない数(または 1 つ)に統合し、最終的なイメージサイズを削減して中間ファイルを隠します。ただしその代償として、イメージ間での layer 共有と cache の粒度を失います。
トレードオフ
squashing は後続の layer で削除されたファイルを最終イメージから取り除きますが、layer が揃わなくなるため、イメージ間での cache の再利用や pull の重複排除が低下します。
関連ガイド
Image Layer - CI/CD Glossary DefinitionImage Layer: An image layer is a single filesystem diff created by one build instruction. Layers stack to for…
Layer Caching - CI/CD Glossary DefinitionLayer Caching: Layer caching reuses the results of previously built image layers when their inputs are unchan…
Multi-Stage Dockerfile - CI/CD Glossary DefinitionMulti-Stage Dockerfile: A multi-stage Dockerfile uses several `FROM` stages so build tooling stays in an earl…
Container Image - CI/CD Glossary DefinitionContainer Image: A container image is a read-only, layered package that bundles an application with its runti…