Compile MoneroV Client
- Ensure that you have
dockerinstalled. - Clone the MoneroV repo (including submodules via the
--recursiveflag).git clone --recursive https://github.com/monerov/monerov.git - Overwrite the
Dockerfilein themonerovrepo with the one thescripts/hardforks/monerovdirectory.cd monerov cp <path-to-the-instructions-repo>/scripts/hardforks/xmv/Dockerfile . - In the
monerovrepo, run the following command to build a docker image containing themonerovdclient binary.docker build -t monerov .Note: You may have to increase the RAM allotted to the VM that docker uses to build the image. An allocation of 7.5 GB was sufficient for the image to be succesfully built. This can be done in the
Settings > Advancedmenu of Docker Desktop. - The
monerovdclient binary is in the/src/build/release/bin/directory of the image. To copy it to the host machine, we need a running container based on this image.
Thedocker run -d monerov bash -c "tail -f /dev/null"tail -f /dev/nullcommand prevents the container from exiting. Make a note of the container id that is printed or obtain it by running thedocker pscommand. - Copy the
monerovdbinary from the container to the host using the following command (after replacing<container-id>with the actual container ID).
The current directory of the host must have thedocker cp <container-id>:/src/build/release/bin/monerovd .monerovdbinary. - Stop and delete the container with the following command.
docker rm -f <container-id>