sonic-buildimage/sonic-slave-jessie
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
..
Dockerfile.j2 [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
Dockerfile.user.j2 [build]: add arch name in sonic-slave docker image 2020-12-25 09:31:42 -08:00
no-check-valid-until [apt] Instruct apt-get to NOT check the "Valid Until" date in Release files (#3973) 2020-01-07 15:52:49 -08:00
sonic-jenkins-id_rsa.pub [sonic-slave]: Remove base from image name, rename folder to prevent user confliction (jessie) (#3790) 2019-11-21 16:14:32 -08:00