sonic-buildimage/files/build_templates
Stepan Blyshchak cd2c86eab6
[dockers] label SONiC Docker with manifest (#5939)
Signed-off-by: Stepan Blyschak stepanb@nvidia.com

This PR is part of SONiC Application Extension

Depends on #5938

- Why I did it
To provide an infrastructure change in order to support SONiC Application Extension feature.

- How I did it
Label every installable SONiC Docker with a minimal required manifest and auto-generate packages.json file based on
installed SONiC images.

- How to verify it
Build an image, execute the following command:

admin@sonic:~$ docker inspect docker-snmp:1.0.0 | jq '.[0].Config.Labels["com.azure.sonic.manifest"]' -r | jq
Cat /var/lib/sonic-package-manager/packages.json file to verify all dockers are listed there.
2021-04-26 13:51:50 -07:00
..
per_namespace [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
share_image [ChassisDB]: bring up ChassisDB service (#5283) 2020-10-14 15:15:24 -07:00
arp_update_vars.j2 [swss] Enhance ARP Update to Call Sonic Cfggen Once (#5398) 2020-09-18 18:44:23 -07:00
buffers_config.j2 [Dynamic buffer calc] Support dynamic buffer calculation (#6194) 2020-12-13 11:35:39 -08:00
config-chassisdb.service.j2 [ChassisDB]: bring up ChassisDB service (#5283) 2020-10-14 15:15:24 -07:00
config-setup.service.j2 [config-setup]: create a SONiC configuration management service (#3227) 2019-12-04 07:15:58 -08:00
database.service.j2 Multi-ASIC implementation (#3888) 2020-03-31 10:06:19 -07:00
dhcp_relay.service.j2 [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
docker_image_ctl.j2 [systemlag] Lag id boundary set for system lag (#6488) 2021-03-30 23:21:53 -07:00
gbsyncd.service.j2 [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
iccpd.service.j2 [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
init_cfg.json.j2 [MACsec]: Set MACsec feature to be auto-start (#6678) 2021-02-23 13:22:45 -08:00
kube_cni.10-flannel.conflist First cut image update for kubernetes support. (#5421) 2020-12-22 08:01:33 -08:00
lldp.service.j2 Changes for LLDP docker to support multi-npu platforms (#4530) 2020-05-11 11:05:44 -07:00
macsec.service.j2 [MACsec]: Set MACsec feature to be auto-start (#6678) 2021-02-23 13:22:45 -08:00
manifest.json.j2 [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
mgmt-framework.service.j2 [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
mgmt-framework.timer [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
nat.service.j2 [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
organization_extensions.sh Framework to plugin Organization specific scripts during ONIE Image build (#951) 2017-09-19 16:23:31 -07:00
packages.json.j2 [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
pmon.service.j2 [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
qos_config.j2 Make backend device checking more robust (#5730) 2020-11-10 15:06:35 -08:00
radv.service.j2 [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
restapi.service.j2 [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
sflow.service.j2 [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
snmp.service.j2 [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
snmp.timer [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
sonic_debian_extension.j2 [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
sonic.target [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
swss_vars.j2 Enable synchronous mode by default and add in minigraph parser (#5735) 2020-10-29 09:15:12 -07:00
telemetry.service.j2 [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
telemetry.timer [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
updategraph.service.j2 [config-setup]: create a SONiC configuration management service (#3227) 2019-12-04 07:15:58 -08:00