e798b9389f
* [dockers]: Upgrade SNMP docker to stretch build * Removed patch-> 0003-CHANGES-BUG-2743-snmpd-crashes-when-receiving-a-GetN.patch * update platform-common submodule * adding PyYAML package to stretch dockerfile * Installing redis package via pip in stretch dockerfile * again updating platform-common submodule * revert back the snmpd version to 5.7.3+dfsg-1.5 * upgrading the snmpd version to 5.7.3+dfsg-1.7+deb9u1 with openssl backport support * update sonic-snmpagent submodule * purge libdpkg-perl package in Dockerfile * revert back the snmpd version to 5.7.3+dfsg-1.5 * minor change in series file
18 lines
918 B
Makefile
18 lines
918 B
Makefile
# docker image for snmp agent
|
|
|
|
DOCKER_SNMP_SV2 = docker-snmp-sv2.gz
|
|
$(DOCKER_SNMP_SV2)_PATH = $(DOCKERS_PATH)/docker-snmp-sv2
|
|
## TODO: remove LIBPY3_DEV if we can get pip3 directly
|
|
$(DOCKER_SNMP_SV2)_DEPENDS += $(SNMP) $(SNMPD) $(PY3) $(LIBPY3_DEV)
|
|
$(DOCKER_SNMP_SV2)_PYTHON_WHEELS += $(SONIC_PLATFORM_COMMON_PY3) $(SWSSSDK_PY3) $(ASYNCSNMP_PY3)
|
|
$(DOCKER_SNMP_SV2)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH)
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SNMP_SV2)
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SNMP_SV2)
|
|
SONIC_STRETCH_DOCKERS += $(DOCKER_SNMP_SV2)
|
|
|
|
$(DOCKER_SNMP_SV2)_CONTAINER_NAME = snmp
|
|
$(DOCKER_SNMP_SV2)_RUN_OPT += --net=host --privileged -t
|
|
$(DOCKER_SNMP_SV2)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
|
# mount Arista platform python libraries to support corresponding platforms SNMP power status query
|
|
$(DOCKER_SNMP_SV2)_RUN_OPT += -v /usr/lib/python3/dist-packages/arista:/usr/lib/python3/dist-packages/arista:ro
|