eolivelli opened a new issue #9492:
URL: https://github.com/apache/pulsar/issues/9492


   **Is your enhancement request related to a problem? Please describe.**
   On my Mac building the docker images is very slow, and the slowest part is 
during the build of the CXX client
   
   ```
   [  0%] Building CXX object 
lib/CMakeFiles/pulsarStatic.dir/AckGroupingTracker.cc.o
   [  0%] Building CXX object 
lib/CMakeFiles/pulsarStatic.dir/AckGroupingTrackerDisabled.cc.o
   [  0%] Building CXX object 
lib/CMakeFiles/pulsarStatic.dir/AckGroupingTrackerEnabled.cc.o
   [  3%] Building CXX object 
lib/CMakeFiles/pulsarStatic.dir/Authentication.cc.o
   [  3%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/Backoff.cc.o
   [  3%] Building CXX object 
lib/CMakeFiles/pulsarStatic.dir/BatchAcknowledgementTracker.cc.o
   [  6%] Building CXX object 
lib/CMakeFiles/pulsarStatic.dir/BatchMessageContainer.cc.o
   [  6%] Building CXX object 
lib/CMakeFiles/pulsarStatic.dir/BatchMessageContain
   ....
   ``` 
   I found that there would be some way to skip this part by using 
`skipBuildCppClient,skipBuildCppClient` 
   but if I enable those flags the build fails
   
   the command is
   ```
   cd docker
   mvn clean install -Pdocker -pl pulsar
   ```
   
   **Describe the solution you'd like**
   To have a fast way to rebuild the images locally, in order to be quicker in 
debugging problems with integration tests
   
   **Additional context**
   I am on Docker Desktop on Mac, with a pretty good machine.
   Probably the problem is due to how Docker Desktop deals with the disk


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to