[broadcom]: Add bcmcmd and bcmsh to docker-syncd-brcm-rpc (#3739)

Signed-off-by: chiourung_huang <chiourung_huang@edge-core.com>
This commit is contained in:
ChiouRung Haung 2019-11-20 23:41:04 +08:00 committed by lguohan
parent 420278f286
commit 82e309f6de
3 changed files with 10 additions and 0 deletions

View File

@ -23,3 +23,7 @@ $(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /host/warmboot:/var/warmboot
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /var/run/docker-syncd:/var/run/sswsyncd
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
$(DOCKER_SYNCD_BRCM_RPC)_BASE_IMAGE_FILES += bcmcmd:/usr/bin/bcmcmd
$(DOCKER_SYNCD_BRCM_RPC)_BASE_IMAGE_FILES += bcmsh:/usr/bin/bcmsh

View File

@ -0,0 +1,3 @@
#!/bin/bash
docker exec -i syncd bcmcmd "$@"

View File

@ -0,0 +1,3 @@
#!/bin/bash
docker exec -it syncd bcmsh "$@"