[dockers]: Add base image files to syncd-brcm, database and teamd (#380)
This commit is contained in:
parent
45e5c14729
commit
5dafa907b2
4
dockers/docker-database/base_image_files/redis-cli
Executable file
4
dockers/docker-database/base_image_files/redis-cli
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker exec -it database redis-cli "$@"
|
||||||
|
|
4
dockers/docker-teamd/base_image_files/teamdctl
Executable file
4
dockers/docker-teamd/base_image_files/teamdctl
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker exec -i teamd teamdctl "$@"
|
||||||
|
|
@ -14,3 +14,6 @@ $(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
|
|||||||
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /var/run/docker-syncd:/var/run/sswsyncd
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /var/run/docker-syncd:/var/run/sswsyncd
|
||||||
$(DOCKER_SYNCD_BRCM)_RUN_OPT += --volumes-from database
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += --volumes-from database
|
||||||
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
||||||
|
|
||||||
|
$(DOCKER_SYNCD_BRCM)_BASE_IMAGE_FILES += bcmcmd:/usr/bin/bcmcmd
|
||||||
|
|
||||||
|
4
platform/broadcom/docker-syncd-brcm/base_image_files/bcmcmd
Executable file
4
platform/broadcom/docker-syncd-brcm/base_image_files/bcmcmd
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker exec -i syncd bcmcmd "$@"
|
||||||
|
|
@ -11,3 +11,5 @@ $(DOCKER_DATABASE)_CONTAINER_NAME = database
|
|||||||
$(DOCKER_DATABASE)_RUN_OPT += --net=host --privileged -t
|
$(DOCKER_DATABASE)_RUN_OPT += --net=host --privileged -t
|
||||||
$(DOCKER_DATABASE)_RUN_OPT += -v /var/run/redis
|
$(DOCKER_DATABASE)_RUN_OPT += -v /var/run/redis
|
||||||
|
|
||||||
|
$(DOCKER_DATABASE)_BASE_IMAGE_FILES += redis-cli:/usr/bin/redis-cli
|
||||||
|
|
||||||
|
@ -11,3 +11,6 @@ $(DOCKER_TEAMD)_CONTAINER_NAME = teamd
|
|||||||
$(DOCKER_TEAMD)_RUN_OPT += --net=host --privileged -t
|
$(DOCKER_TEAMD)_RUN_OPT += --net=host --privileged -t
|
||||||
$(DOCKER_TEAMD)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
$(DOCKER_TEAMD)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
||||||
$(DOCKER_TEAMD)_RUN_OPT += --volumes-from database
|
$(DOCKER_TEAMD)_RUN_OPT += --volumes-from database
|
||||||
|
|
||||||
|
$(DOCKER_TEAMD)_BASE_IMAGE_FILES += teamdctl:/usr/bin/teamdctl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user