2016-12-05 13:12:19 -06:00
|
|
|
# docker image for fpm
|
|
|
|
|
|
|
|
DOCKER_FPM = docker-fpm.gz
|
|
|
|
$(DOCKER_FPM)_PATH = $(DOCKERS_PATH)/docker-fpm
|
2017-01-19 22:56:26 -06:00
|
|
|
$(DOCKER_FPM)_DEPENDS += $(QUAGGA) $(SWSS) $(SONIC_CONFIG_ENGINE)
|
2016-12-05 13:12:19 -06:00
|
|
|
$(DOCKER_FPM)_LOAD_DOCKERS += $(DOCKER_BASE)
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_FPM)
|
2017-01-29 13:33:33 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_FPM)
|
|
|
|
|
|
|
|
$(DOCKER_FPM)_CONTAINER_NAME = bgp
|
|
|
|
$(DOCKER_FPM)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_FPM)_RUN_OPT += --volumes-from database
|
|
|
|
$(DOCKER_FPM)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2017-02-07 02:33:20 -06:00
|
|
|
|
|
|
|
$(DOCKER_FPM)_BASE_IMAGE_FILES += vtysh:/usr/bin/vtysh
|