2018-03-27 15:39:04 -05:00
|
|
|
# docker image for telemetry agent
|
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
DOCKER_TELEMETRY_STEM = docker-sonic-telemetry
|
|
|
|
DOCKER_TELEMETRY = $(DOCKER_TELEMETRY_STEM).gz
|
|
|
|
DOCKER_TELEMETRY_DBG = $(DOCKER_TELEMETRY_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
|
|
|
$(DOCKER_TELEMETRY)_PATH = $(DOCKERS_PATH)/$(DOCKER_TELEMETRY_STEM)
|
|
|
|
|
2023-11-07 18:54:36 -06:00
|
|
|
$(DOCKER_TELEMETRY)_DBG_DEPENDS = $($(DOCKER_GNMI)_DBG_DEPENDS)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2023-11-07 18:54:36 -06:00
|
|
|
$(DOCKER_TELEMETRY)_LOAD_DOCKERS += $(DOCKER_GNMI)
|
2021-04-26 15:51:50 -05:00
|
|
|
|
|
|
|
$(DOCKER_TELEMETRY)_VERSION = 1.0.0
|
|
|
|
$(DOCKER_TELEMETRY)_PACKAGE_NAME = telemetry
|
|
|
|
|
2023-11-07 18:54:36 -06:00
|
|
|
$(DOCKER_TELEMETRY)_DBG_IMAGE_PACKAGES = $($(DOCKER_GNMI)_DBG_IMAGE_PACKAGES)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2018-03-27 15:39:04 -05:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_TELEMETRY)
|
2020-08-05 15:23:12 -05:00
|
|
|
ifeq ($(INCLUDE_SYSTEM_TELEMETRY), y)
|
2018-03-27 15:39:04 -05:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_TELEMETRY)
|
|
|
|
endif
|
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_TELEMETRY_DBG)
|
2020-08-05 15:23:12 -05:00
|
|
|
ifeq ($(INCLUDE_SYSTEM_TELEMETRY), y)
|
2019-04-19 20:49:21 -05:00
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_TELEMETRY_DBG)
|
|
|
|
endif
|
|
|
|
|
2018-03-27 15:39:04 -05:00
|
|
|
$(DOCKER_TELEMETRY)_CONTAINER_NAME = telemetry
|
2023-09-07 13:04:11 -05:00
|
|
|
$(DOCKER_TELEMETRY)_RUN_OPT += -t
|
2018-03-27 15:39:04 -05:00
|
|
|
$(DOCKER_TELEMETRY)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2023-11-07 18:54:36 -06:00
|
|
|
$(DOCKER_TELEMETRY)_RUN_OPT += -v /etc/timezone:/etc/timezone:ro
|
2018-03-27 15:39:04 -05:00
|
|
|
|
2019-11-22 16:28:40 -06:00
|
|
|
$(DOCKER_TELEMETRY)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
2020-01-10 18:21:02 -06:00
|
|
|
$(DOCKER_TELEMETRY)_BASE_IMAGE_FILES += monit_telemetry:/etc/monit/conf.d
|