sonic-buildimage/platform
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
..
barefoot [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
broadcom [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
cavium [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
centec [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
centec-arm64 [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
generic [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' (#4699) 2020-06-11 16:04:23 -07:00
innovium [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
marvell [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
marvell-arm64 [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
marvell-armhf [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
mellanox [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
nephos [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
p4 Add support to start fdbsyncd when orchagent docker starts (#5979) 2020-12-24 18:36:01 -08:00
pddf Invoking python3 installation for PDDF 2.0 PAI package (#7100) 2021-04-08 08:21:17 -07:00
template Add gearbox phy device files and a new physyncd docker to support VS gearbox phy feature (#4851) 2020-09-25 08:32:44 -07:00
vs [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00