cd2c86eab6
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.
23 lines
845 B
Makefile
23 lines
845 B
Makefile
# docker image for brcm syncd
|
|
|
|
DOCKER_SYNCD_PLATFORM_CODE = brcm
|
|
include $(PLATFORM_PATH)/../template/docker-syncd-base.mk
|
|
|
|
$(DOCKER_SYNCD_BASE)_DEPENDS += $(SYNCD)
|
|
$(DOCKER_SYNCD_BASE)_FILES += $(DSSERVE) $(BCMCMD)
|
|
|
|
$(DOCKER_SYNCD_BASE)_DBG_DEPENDS += $(SYNCD_DBG) \
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
$(LIBSAIMETADATA_DBG) \
|
|
$(LIBSAIREDIS_DBG)
|
|
|
|
$(DOCKER_SYNCD_BASE)_VERSION = 1.0.0
|
|
$(DOCKER_SYNCD_BASE)_PACKAGE_NAME = syncd
|
|
|
|
$(DOCKER_SYNCD_BASE)_RUN_OPT += -v /host/warmboot:/var/warmboot
|
|
|
|
$(DOCKER_SYNCD_BASE)_BASE_IMAGE_FILES += bcmcmd:/usr/bin/bcmcmd
|
|
$(DOCKER_SYNCD_BASE)_BASE_IMAGE_FILES += bcmsh:/usr/bin/bcmsh
|
|
$(DOCKER_SYNCD_BASE)_BASE_IMAGE_FILES += bcm_common:/usr/bin/bcm_common
|
|
$(DOCKER_SYNCD_BASE)_BASE_IMAGE_FILES += monit_syncd:/etc/monit/conf.d
|