nodece opened a new pull request, #22613:
URL: https://github.com/apache/pulsar/pull/22613

   ### Motivation
   
   When building the ARM image, pip3 will take a long time to build the grpcio 
package, because the PyPI doesn't provide the grpcio aarch64 wheel file, this 
is unfriendly.
   
   Build script:
   ```
   mvn install -Pmain,docker -pl docker/pulsar -Ddocker.platforms=linux/arm64 
-Ddocker.nocache=true
   ```
   
   Log:
   ```
   ....
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  04:18 min
   [INFO] Finished at: 2024-04-29T18:09:50+08:00
   [INFO] 
------------------------------------------------------------------------
   [INFO] 0 goals, 0 executed
   ```
   
   ### Modifications
   
   - Install `py3-grpcio`  by the `pulsar-client`
   - Add `--prefer-binary` and wheel mirror to speed up installation
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->


-- 
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]

Reply via email to