We should be able to add a customized label to rockcraft built images.
The label I need to add is a short json string "com.azure.sonic.manifest" as in the following example, which is used to maintain docker startup dependencies, and will be eventually be used by systemd.
(Same thing docker works by using LABEL instruction in Dockerfile or adding the --label flag to a docker build command.)
What needs to get done
We should be able to add a customized label to rockcraft built images.
The label I need to add is a short json string "com.azure.sonic.manifest" as in the following example, which is used to maintain docker startup dependencies, and will be eventually be used by systemd. (Same thing docker works by using LABEL instruction in Dockerfile or adding the --label flag to a docker build command.)
We do have some metadata such as version/title/licenses which are converted to label during rockcraft build phase.
Why it needs to get done
labels are important metadata carried by image, and are widely used.