-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Makefile: Extend to build debug docker images for all stretch dockers #2789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
941eb7d
042d51e
24f38f2
4443c70
7b84e64
c717e50
60a001c
cefc4b8
f659917
9d7aedb
279084f
99783dd
a2297a3
b4b30fd
575e43d
e504eb7
0db6c0f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,14 @@ | ||
| # docker image for syncd | ||
|
|
||
| DOCKER_SYNCD_BFN = docker-syncd-bfn.gz | ||
| $(DOCKER_SYNCD_BFN)_PATH = $(PLATFORM_PATH)/docker-syncd-bfn | ||
| $(DOCKER_SYNCD_BFN)_DEPENDS += $(SYNCD) | ||
| ifeq ($(INSTALL_DEBUG_TOOLS), y) | ||
| $(DOCKER_SYNCD_BFN)_DEPENDS += $(SYNCD_DBG) \ | ||
| DOCKER_SYNCD_PLATFORM_CODE = bfn | ||
| include $(PLATFORM_PATH)/../template/docker-syncd-base.mk | ||
|
|
||
| $(DOCKER_SYNCD_BASE)_DEPENDS += $(SYNCD) | ||
|
|
||
| $(DOCKER_SYNCD_BASE)_DBG_DEPENDS += $(SYNCD_DBG) \ | ||
| $(LIBSWSSCOMMON_DBG) \ | ||
| $(LIBSAIMETADATA_DBG) \ | ||
| $(LIBSAIREDIS_DBG) | ||
| endif | ||
| $(DOCKER_SYNCD_BFN)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH) | ||
| SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_BFN) | ||
| SONIC_STRETCH_DOCKERS += $(DOCKER_SYNCD_BFN) | ||
| ifneq ($(ENABLE_SYNCD_RPC),y) | ||
| SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_BFN) | ||
| endif | ||
|
|
||
| $(DOCKER_SYNCD_BFN)_CONTAINER_NAME = syncd | ||
| $(DOCKER_SYNCD_BFN)_RUN_OPT += --net=host --privileged -t | ||
| $(DOCKER_SYNCD_BFN)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf | ||
| $(DOCKER_SYNCD_BFN)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro | ||
| $(DOCKER_SYNCD_BFN)_RUN_OPT += -v /host/warmboot:/var/warmboot | ||
| $(DOCKER_SYNCD_BASE)_RUN_OPT += -v /host/warmboot:/var/warmboot | ||
|
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,15 @@ | ||
| # docker image for mlnx syncd | ||
|
|
||
| DOCKER_SYNCD_MLNX = docker-syncd-mlnx.gz | ||
| $(DOCKER_SYNCD_MLNX)_PATH = $(PLATFORM_PATH)/docker-syncd-mlnx | ||
| $(DOCKER_SYNCD_MLNX)_DEPENDS += $(SYNCD) $(PYTHON_SDK_API) | ||
| ifeq ($(INSTALL_DEBUG_TOOLS), y) | ||
| $(DOCKER_SYNCD_MLNX)_DEPENDS += $(SYNCD_DBG) \ | ||
| DOCKER_SYNCD_PLATFORM_CODE = mlnx | ||
| include $(PLATFORM_PATH)/../template/docker-syncd-base.mk | ||
|
|
||
| $(DOCKER_SYNCD_BASE)_DEPENDS += $(SYNCD) $(PYTHON_SDK_API) | ||
| $(DOCKER_SYNCD_BASE)_PYTHON_DEBS += $(MLNX_SFPD) | ||
|
|
||
| $(DOCKER_SYNCD_BASE)_DBG_DEPENDS += $(SYNCD_DBG) \ | ||
| $(LIBSWSSCOMMON_DBG) \ | ||
| $(LIBSAIMETADATA_DBG) \ | ||
| $(LIBSAIREDIS_DBG) | ||
| endif | ||
| $(DOCKER_SYNCD_MLNX)_PYTHON_DEBS += $(MLNX_SFPD) | ||
| $(DOCKER_SYNCD_MLNX)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH) | ||
| SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX) | ||
| SONIC_STRETCH_DOCKERS += $(DOCKER_SYNCD_MLNX) | ||
| ifneq ($(ENABLE_SYNCD_RPC),y) | ||
| SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX) | ||
| endif | ||
|
|
||
| $(DOCKER_SYNCD_MLNX)_CONTAINER_NAME = syncd | ||
| $(DOCKER_SYNCD_MLNX)_RUN_OPT += --net=host --privileged -t | ||
| $(DOCKER_SYNCD_MLNX)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf | ||
| $(DOCKER_SYNCD_MLNX)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro | ||
| $(DOCKER_SYNCD_MLNX)_RUN_OPT += -v /host/warmboot:/var/warmboot | ||
| $(DOCKER_SYNCD_BASE)_RUN_OPT += -v /host/warmboot:/var/warmboot | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # docker image for syncd | ||
|
|
||
|
|
||
| DOCKER_SYNCD_BASE_STEM = docker-syncd-$(DOCKER_SYNCD_PLATFORM_CODE) | ||
| DOCKER_SYNCD_BASE = $(DOCKER_SYNCD_BASE_STEM).gz | ||
| DOCKER_SYNCD_BASE_DBG = $(DOCKER_SYNCD_BASE_STEM)-$(DBG_IMAGE_MARK).gz | ||
|
|
||
| $(DOCKER_SYNCD_BASE)_PATH = $(PLATFORM_PATH)/docker-syncd-$(DOCKER_SYNCD_PLATFORM_CODE) | ||
|
|
||
| $(DOCKER_SYNCD_BASE)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH) | ||
|
|
||
| $(DOCKER_SYNCD_BASE)_DBG_DEPENDS += $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_DEPENDS) | ||
|
|
||
| $(DOCKER_SYNCD_BASE)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_IMAGE_PACKAGES) | ||
|
|
||
| SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_BASE) | ||
| SONIC_STRETCH_DOCKERS += $(DOCKER_SYNCD_BASE) | ||
| ifneq ($(ENABLE_SYNCD_RPC),y) | ||
| SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_BASE) | ||
| endif | ||
|
|
||
| SONIC_DOCKER_DBG_IMAGES += $(DOCKER_SYNCD_BASE_DBG) | ||
| SONIC_STRETCH_DBG_DOCKERS += $(DOCKER_SYNCD_BASE_DBG) | ||
| ifneq ($(ENABLE_SYNCD_RPC),y) | ||
| SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_SYNCD_BASE_DBG) | ||
| endif | ||
|
|
||
|
|
||
| $(DOCKER_SYNCD_BASE)_CONTAINER_NAME = syncd | ||
| $(DOCKER_SYNCD_BASE)_RUN_OPT += --net=host --privileged -t | ||
| $(DOCKER_SYNCD_BASE)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf | ||
| $(DOCKER_SYNCD_BASE)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro | ||
|
|
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.