2016-12-30 15:34:38 -06:00
|
|
|
# docker image for teamd agent
|
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
DOCKER_TEAMD_STEM = docker-teamd
|
|
|
|
DOCKER_TEAMD = $(DOCKER_TEAMD_STEM).gz
|
|
|
|
DOCKER_TEAMD_DBG = $(DOCKER_TEAMD_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
|
|
|
$(DOCKER_TEAMD)_PATH = $(DOCKERS_PATH)/$(DOCKER_TEAMD_STEM)
|
|
|
|
|
2017-03-02 20:07:43 -06:00
|
|
|
$(DOCKER_TEAMD)_DEPENDS += $(SWSS) $(LIBTEAMDCT) $(LIBTEAM_UTILS) $(REDIS_TOOLS)
|
2019-04-19 20:49:21 -05:00
|
|
|
$(DOCKER_TEAMD)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_DEPENDS)
|
|
|
|
$(DOCKER_TEAMD)_DBG_DEPENDS += $(SWSS_DBG) $(LIBSWSSCOMMON_DBG)
|
|
|
|
$(DOCKER_TEAMD)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_IMAGE_PACKAGES)
|
|
|
|
|
2019-04-12 12:14:51 -05:00
|
|
|
$(DOCKER_TEAMD)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH)
|
2019-04-19 20:49:21 -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-04-12 12:14:51 -05:00
|
|
|
SONIC_STRETCH_DOCKERS += $(DOCKER_TEAMD)
|
2017-01-29 13:33:33 -06:00
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_TEAMD_DBG)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_TEAMD_DBG)
|
|
|
|
SONIC_STRETCH_DBG_DOCKERS += $(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
|