'Thin' Porter Bundle #2707
-
Is there any way to make a 'thin' porter bundle? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @samjohnsonCF, good question! When you include references to an image in your porter.yaml file using the image section, that instructs Porter to make a thick bundle, including those images in the final bundle that is published to a registry or archived to a file. When you omit the images section, you create a thin bundle, where the images used by your bundle are not tracked and moved together with the bundle. So if you do not need Porter to help relocate the images used in your manifests, you can safely omit them and speed up the build and publish steps. |
Beta Was this translation helpful? Give feedback.
Hi @samjohnsonCF, good question! When you include references to an image in your porter.yaml file using the image section, that instructs Porter to make a thick bundle, including those images in the final bundle that is published to a registry or archived to a file. When you omit the images section, you create a thin bundle, where the images used by your bundle are not tracked and moved together with the bundle.
So if you do not need Porter to help relocate the images used in your manifests, you can safely omit them and speed up the build and publish steps.