2019-06-18 23:03:47 -05:00
|
|
|
# docker image for mgmt-framework
|
|
|
|
|
|
|
|
DOCKER_MGMT-FRAMEWORK_STEM = docker-sonic-mgmt-framework
|
|
|
|
DOCKER_MGMT-FRAMEWORK = $(DOCKER_MGMT-FRAMEWORK_STEM).gz
|
|
|
|
DOCKER_MGMT-FRAMEWORK_DBG = $(DOCKER_MGMT-FRAMEWORK_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
|
|
|
$(DOCKER_MGMT-FRAMEWORK)_PATH = $(DOCKERS_PATH)/$(DOCKER_MGMT-FRAMEWORK_STEM)
|
|
|
|
|
|
|
|
$(DOCKER_MGMT-FRAMEWORK)_DEPENDS += $(REDIS_TOOLS) $(SONIC_MGMT-FRAMEWORK)
|
2019-06-19 13:01:06 -05:00
|
|
|
#$(DOCKER_MGMT-FRAMEWORK)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_DEPENDS)
|
2019-06-18 23:03:47 -05:00
|
|
|
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_MGMT-FRAMEWORK)
|
|
|
|
$(DOCKER_MGMT-FRAMEWORK)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH)
|
2019-06-19 13:01:06 -05:00
|
|
|
#$(DOCKER_MGMT-FRAMEWORK)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_IMAGE_PACKAGES)
|
2019-06-18 23:03:47 -05:00
|
|
|
|
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_MGMT-FRAMEWORK)
|
|
|
|
SONIC_STRETCH_DOCKERS += $(DOCKER_MGMT-FRAMEWORK)
|
|
|
|
|
|
|
|
$(DOCKER_MGMT-FRAMEWORK)_CONTAINER_NAME = mgmt-framework
|
|
|
|
$(DOCKER_MGMT-FRAMEWORK)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_MGMT-FRAMEWORK)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
|
|
|
|