diff --git a/package.json b/package.json index 26d6f01b..03966376 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,12 @@ } }, "views": { + "icons/containersList": [ + { + "when": "bootc.image.builder in containerLabelKeys", + "icon": "${bootable-icon}" + } + ], "icons/imagesList": [ { "when": "ostree.bootable in imageLabelKeys", diff --git a/src/extension.ts b/src/extension.ts index 3273bada..5a8a8ecc 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -163,6 +163,8 @@ $IMAGE */ // Update options with the above values + const Labels: { [label: string]: string } = {}; + Labels['bootc.image.builder'] = 'true'; const options: ContainerCreateOptions = { name: diskImageBuildingName, Image: bootcImageBuilderName, @@ -172,6 +174,7 @@ $IMAGE SecurityOpt: ['label=type:unconfined_t'], Binds: [folder + ':/tmp/' + type], }, + Labels, // Outputs to: // /disk. // in the directory provided