himanshu007-creator commented on pull request #2055:
URL: https://github.com/apache/accumulo/pull/2055#issuecomment-830820281


   > > As suggested from @brianloss on another issue: If you have or can 
install Docker, then you could try building from a Docker container. Something 
like [maven](https://hub.docker.com/_/maven) probably work if you volume mount 
your source directory. Either that or a linux vm (either local or hosted) are 
options.
   > 
   > I played around a little bit on a Windows VM, and discovered that WSL 2 
works quite well if that's an option for you. I installed the Ubuntu 20.04 
distro and had to install JDK, Maven, make, and g++ and I was able to do a 
build w/o tests. Docker for Windows made me install WSL (there is a hyper-v 
option too, but didn't work for me since I was already in a VM I think), so no 
benefit to Docker in that case. If you want Docker for other reasons (e.g., not 
installing tools), unfortunately the maven images don't quite work since they 
don't include the necessary tools to build the native libs. It's pretty easy to 
build an image on top of the maven ones, though. For example, I had the 
following Dockerfile to build an image:
   > 
   > ```dockerfile
   > FROM maven:3-jdk-11-slim
   > RUN apt-get update && apt install -y g++ make && rm -rf 
/var/lib/apt/lists/*
   > ```
   > 
   > With my custom image, I was able to do a full build (again, skipping test 
execution). I just followed the instructions on the 
[maven](https://hub.docker.com/_/maven) image page for running and also to 
reuse the m2 repository (you don't want to have to download all of the 
dependencies every time).
   
   i am sorry, but i wont be able to do that, i would appreciate if you can 
make the required changes in this PR, ill commit the changes and then its all 
settled


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