Skip to content

Commit

Permalink
revise per community review
Browse files Browse the repository at this point in the history
Signed-off-by: shine.chen <shine.chen@mediatek.com>
  • Loading branch information
shine.chen committed Mar 30, 2020
1 parent 0b08967 commit c4b6059
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions rules/config
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,6 @@ FRR_USER_GID = 300

# Default VS build memory preparation
DEFAULT_VS_PREPARE_MEM = yes

# ENABLE_ICCPD - build docker-iccpd for mclag support
ENABLE_ICCPD = y
6 changes: 4 additions & 2 deletions rules/docker-iccpd.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ DOCKER_ICCPD = docker-iccpd.gz
$(DOCKER_ICCPD)_PATH = $(DOCKERS_PATH)/docker-iccpd
$(DOCKER_ICCPD)_DEPENDS += $(SWSS) $(REDIS_TOOLS) $(ICCPD)
$(DOCKER_ICCPD)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH)

ifeq ($(ENABLE_ICCPD), y)
SONIC_DOCKER_IMAGES += $(DOCKER_ICCPD)
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_ICCPD)

SONIC_STRETCH_DOCKERS += $(DOCKER_ICCPD)
endif

$(DOCKER_ICCPD)_CONTAINER_NAME = iccpd
$(DOCKER_ICCPD)_RUN_OPT += --net=host --privileged -t
$(DOCKER_ICCPD)_RUN_OPT += --privileged -t
$(DOCKER_ICCPD)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro

$(DOCKER_ICCPD)_BASE_IMAGE_FILES += mclagdctl:/usr/bin/mclagdctl

0 comments on commit c4b6059

Please sign in to comment.