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)
|
|
|
|
|
2024-02-21 15:22:07 -06:00
|
|
|
$(DOCKER_TEAMD)_DEPENDS += $(LIBTEAMDCTL) $(LIBTEAM_UTILS)
|
|
|
|
$(DOCKER_TEAMD)_DBG_DEPENDS = $($(DOCKER_SWSS_LAYER_BOOKWORM)_DBG_DEPENDS)
|
2020-06-24 16:07:22 -05:00
|
|
|
$(DOCKER_TEAMD)_DBG_DEPENDS += $(LIBTEAMDCTL_DBG) $(LIBTEAM_UTILS_DBG)
|
2019-07-04 00:13:55 -05:00
|
|
|
|
2024-02-21 15:22:07 -06:00
|
|
|
$(DOCKER_TEAMD)_DBG_IMAGE_PACKAGES = $($(DOCKER_SWSS_LAYER_BOOKWORM)_DBG_IMAGE_PACKAGES)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2024-02-21 15:22:07 -06:00
|
|
|
$(DOCKER_TEAMD)_LOAD_DOCKERS += $(DOCKER_SWSS_LAYER_BOOKWORM)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2021-04-26 15:51:50 -05:00
|
|
|
$(DOCKER_TEAMD)_VERSION = 1.0.0
|
|
|
|
$(DOCKER_TEAMD)_PACKAGE_NAME = teamd
|
2021-07-11 08:58:05 -05:00
|
|
|
$(DOCKER_TEAMD)_WARM_SHUTDOWN_BEFORE = syncd
|
|
|
|
$(DOCKER_TEAMD)_WARM_SHUTDOWN_AFTER = swss
|
2022-07-14 01:30:00 -05:00
|
|
|
$(DOCKER_TEAMD)_FAST_SHUTDOWN_BEFORE = syncd
|
|
|
|
$(DOCKER_TEAMD)_FAST_SHUTDOWN_AFTER = swss
|
2021-04-26 15:51:50 -05:00
|
|
|
|
2016-12-30 15:34:38 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_TEAMD)
|
2022-12-13 04:06:30 -06:00
|
|
|
ifeq ($(INCLUDE_TEAMD), y)
|
2017-01-29 13:33:33 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_TEAMD)
|
2022-12-13 04:06:30 -06:00
|
|
|
endif
|
2017-01-29 13:33:33 -06:00
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_TEAMD_DBG)
|
2022-12-13 04:06:30 -06:00
|
|
|
ifeq ($(INCLUDE_TEAMD), y)
|
2019-04-19 20:49:21 -05:00
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_TEAMD_DBG)
|
2022-12-13 04:06:30 -06:00
|
|
|
endif
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2017-01-29 13:33:33 -06:00
|
|
|
$(DOCKER_TEAMD)_CONTAINER_NAME = teamd
|
2023-08-17 11:48:57 -05:00
|
|
|
$(DOCKER_TEAMD)_RUN_OPT += -t --cap-add=NET_ADMIN
|
2017-01-29 13:33:33 -06:00
|
|
|
$(DOCKER_TEAMD)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2023-06-25 18:36:09 -05:00
|
|
|
$(DOCKER_TEAMD)_RUN_OPT += -v /etc/timezone:/etc/timezone: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
|
2019-11-04 19:45:41 -06:00
|
|
|
$(DOCKER_TEAMD)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
2021-06-30 14:45:40 -05:00
|
|
|
|
2024-02-21 15:22:07 -06:00
|
|
|
SONIC_BOOKWORM_DOCKERS += $(DOCKER_TEAMD)
|
|
|
|
SONIC_BOOKWORM_DBG_DOCKERS += $(DOCKER_TEAMD_DBG)
|