mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-02 02:57:45 +00:00
[Nokia] Add protobuf and grpc C++ and python lib to support Nokia IXR7250E platform (#8366)
#### Why I did it Nokia IXR7250E platform requires grpcio, grpcio-tools python library, and libprotobuf-dev, libgrpc++ library #### How I did it Modified the build_debian.sh install libprotobuf-dev and libgrpc++ to support nokia ndk Modified the sonic_debian_extension.j2 to install the grpcio and grpcio-tools in the host Modified the docker-platform-monitor/Dockerfile.js to install grpcio and grpcio-tools for the pmon container. #### How to verify it Image running success.
This commit is contained in:
@@ -42,7 +42,12 @@ RUN pip2 install 'setuptools==40.8.0'
|
||||
# NOTE: Only install enum34 for Python 2, as our version of Python 3 is 3.7, which
|
||||
# contains 'enum' as part of the standard library. Installing enum34 there will
|
||||
# cause conflicts.
|
||||
RUN pip2 install enum34
|
||||
RUN pip2 install enum34 \
|
||||
grpcio==1.39.0 \
|
||||
grpcio-tools==1.39.0
|
||||
|
||||
RUN pip3 install grpcio==1.39.0 \
|
||||
grpcio-tools==1.39.0
|
||||
|
||||
# Barefoot platform vendors' sonic_platform packages import the Python 'thrift' library
|
||||
RUN pip2 install thrift==0.13.0
|
||||
|
||||
Reference in New Issue
Block a user