This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/scripts
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
..
j2cli [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
build_debian_base_system.sh [arm] support compile sonic arm image on arm server (#7285) 2021-04-18 08:17:57 -07:00
build_kvm_image.sh
collect_build_version_files.sh
collect_docker_version_files.sh
collect_host_image_version_files.sh
convert-pfx-cert-format.sh
dbg_files.sh
generate_buildinfo_config.sh
prepare_debian_image_buildinfo.sh
prepare_docker_buildinfo.sh
prepare_slave_container_buildinfo.sh
process_log.sh
sign_image.sh
versions_manager.py [build]: Update versions_manager.py to make versions map key unique (#7146) 2021-03-30 08:34:25 -07:00
wait_for_docker.sh