2017-12-22 12:04:29 -06:00
|
|
|
# docker image for orchagent
|
|
|
|
|
|
|
|
DOCKER_ORCHAGENT_NEPHOS = docker-orchagent-nephos.gz
|
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_PATH = $(DOCKERS_PATH)/docker-orchagent
|
2018-09-16 19:10:03 -05:00
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_DEPENDS += $(SWSS) $(REDIS_TOOLS) $(IPROUTE2)
|
2017-12-22 12:04:29 -06:00
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE)
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_ORCHAGENT_NEPHOS)
|
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_ORCHAGENT_NEPHOS)
|
|
|
|
|
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_CONTAINER_NAME = swss
|
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_RUN_OPT += -v /etc/network/interfaces:/etc/network/interfaces:ro
|
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_RUN_OPT += -v /etc/network/interfaces.d/:/etc/network/interfaces.d/:ro
|
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_RUN_OPT += -v /host/machine.conf:/host/machine.conf:ro
|
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_RUN_OPT += -v /var/log/swss:/var/log/swss:rw
|
|
|
|
|
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_BASE_IMAGE_FILES += swssloglevel:/usr/bin/swssloglevel
|
|
|
|
$(DOCKER_ORCHAGENT_NEPHOS)_FILES += $(ARP_UPDATE_SCRIPT)
|