tisonkun commented on code in PR #17733:
URL: https://github.com/apache/pulsar/pull/17733#discussion_r975554708
##########
docker/pulsar/scripts/install-pulsar-client.sh:
##########
@@ -23,3 +23,7 @@ set -x
PYTHON_MAJOR_MINOR=$(python3 -V | sed -E 's/.*
([[:digit:]]+)\.([[:digit:]]+).*/\1\2/')
WHEEL_FILE=$(ls /pulsar/pulsar-client | grep "cp${PYTHON_MAJOR_MINOR}")
pip3 install /pulsar/pulsar-client/${WHEEL_FILE}[all]
+
+# TODO: remove these lines once grpcio doesn't need to compile from source on
ARM64 platform
+apt update
+apt -y install build-essential python3-dev
Review Comment:
Resolved by option 1 at 279388542fe93df2b5dc4fc9f9986fb2c303c95a.
Option 2 seems also to require installing` build-essential python3-dev` for
`pip install grpcio` on ARM64 platform? Conditional installation is easier to
perform inside a script than inside the Dockerfile AFAIK...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]