2016-12-30 15:34:38 -06:00
|
|
|
# docker image for teamd agent
|
|
|
|
|
2019-07-09 10:55:03 -05:00
|
|
|
DOCKER_TEAMD_STEM = docker-teamd
|
|
|
|
DOCKER_TEAMD = $(DOCKER_TEAMD_STEM).gz
|
|
|
|
DOCKER_TEAMD_DBG = $(DOCKER_TEAMD_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
2016-12-30 15:34:38 -06:00
|
|
|
$(DOCKER_TEAMD)_PATH = $(DOCKERS_PATH)/docker-teamd
|
2019-07-09 10:55:03 -05:00
|
|
|
|
2017-03-02 20:07:43 -06:00
|
|
|
$(DOCKER_TEAMD)_DEPENDS += $(SWSS) $(LIBTEAMDCT) $(LIBTEAM_UTILS) $(REDIS_TOOLS)
|
2019-07-09 10:55:03 -05:00
|
|
|
$(DOCKER_TEAMD)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE)_DBG_DEPENDS)
|
|
|
|
$(DOCKER_TEAMD)_DBG_DEPENDS += $(SWSS_DBG) $(LIBSWSSCOMMON_DBG)
|
|
|
|
|
|
|
|
$(DOCKER_TEAMD)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE)_DBG_IMAGE_PACKAGES)
|
|
|
|
|
2017-02-07 20:11:19 -06:00
|
|
|
$(DOCKER_TEAMD)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE)
|
2019-07-09 10:55:03 -05:00
|
|
|
|
2016-12-30 15:34:38 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_TEAMD)
|
2017-01-29 13:33:33 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_TEAMD)
|
|
|
|
|
2019-07-09 10:55:03 -05:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_TEAMD_DBG)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_TEAMD_DBG)
|
|
|
|
|
2017-01-29 13:33:33 -06:00
|
|
|
$(DOCKER_TEAMD)_CONTAINER_NAME = teamd
|
|
|
|
$(DOCKER_TEAMD)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_TEAMD)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2018-11-09 18:14:03 -06:00
|
|
|
$(DOCKER_TEAMD)_RUN_OPT += -v /host/warmboot:/var/warmboot
|
2017-03-06 14:22:42 -06:00
|
|
|
|
|
|
|
$(DOCKER_TEAMD)_BASE_IMAGE_FILES += teamdctl:/usr/bin/teamdctl
|