2017-02-06 10:40:57 -06:00
|
|
|
# Docker image for DHCP relay
|
2017-01-24 00:18:53 -06:00
|
|
|
|
2019-04-29 00:51:46 -05:00
|
|
|
DOCKER_DHCP_RELAY_STEM = docker-dhcp-relay
|
|
|
|
DOCKER_DHCP_RELAY = $(DOCKER_DHCP_RELAY_STEM).gz
|
|
|
|
DOCKER_DHCP_RELAY_DBG = $(DOCKER_DHCP_RELAY_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
|
|
|
$(DOCKER_DHCP_RELAY)_PATH = $(DOCKERS_PATH)/$(DOCKER_DHCP_RELAY_STEM)
|
|
|
|
|
2019-06-03 16:26:45 -05:00
|
|
|
$(DOCKER_DHCP_RELAY)_DEPENDS += $(ISC_DHCP_RELAY) $(REDIS_TOOLS)
|
2019-04-29 00:51:46 -05:00
|
|
|
$(DOCKER_DHCP_RELAY)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_DEPENDS)
|
2019-07-04 00:13:55 -05:00
|
|
|
$(DOCKER_DHCP_RELAY)_DBG_DEPENDS += $(ISC_DHCP_RELAY_DBG)
|
|
|
|
|
2019-04-29 00:51:46 -05:00
|
|
|
$(DOCKER_DHCP_RELAY)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_IMAGE_PACKAGES)
|
|
|
|
|
|
|
|
$(DOCKER_DHCP_RELAY)_LOAD_DOCKERS = $(DOCKER_CONFIG_ENGINE_STRETCH)
|
|
|
|
|
2017-06-24 14:05:04 -05:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_DHCP_RELAY)
|
2017-02-06 10:40:57 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_DHCP_RELAY)
|
2019-04-29 00:51:46 -05:00
|
|
|
SONIC_STRETCH_DOCKERS += $(DOCKER_DHCP_RELAY)
|
2017-01-24 00:18:53 -06:00
|
|
|
|
2019-04-29 00:51:46 -05:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_DHCP_RELAY_DBG)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_DHCP_RELAY_DBG)
|
|
|
|
SONIC_STRETCH_DBG_DOCKERS += $(DOCKER_DHCP_RELAY_DBG)
|
2017-02-06 10:40:57 -06:00
|
|
|
|
|
|
|
$(DOCKER_DHCP_RELAY)_CONTAINER_NAME = dhcp_relay
|
|
|
|
$(DOCKER_DHCP_RELAY)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_DHCP_RELAY)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|