This repository is just a project builder (https://github.com/ntop/n2n), any problem should be reported to the source repository unless it is about building it. I have no link with the owners of the code I just set up a constructor, which also makes a supernode container available.
Note: This build system was merged with the official n2n repository, but it was updated today 04/02/2020, so that you can build externally to the official n2n repository.
$ docker run --rm -d -p 5645:5645/udp -p 7654:7654/udp supermock/supernode:[TAGNAME]
Use make
command to build the images. Before starting the arm64v8 or arm32v7 platform build, you need to run this registry, so you can perform a cross-build. Just follow the documentation: https://github.com/multiarch/qemu-user-static/blob/master/README.md
$ N2N_COMMIT_HASH=[(optional)] N2N_VERSION=[sample 2.4, (required)] TARGET_ARCHITECTURE=[arm64v8, arm32v7, x86_64, (nothing to build all architectures)] make platforms
Use make push
command to push the image, TARGET_ARCHITECTURE is necessary.
$ N2N_VERSION=[sample 2.4, (required)] TARGET_ARCHITECTURE=[arm64v8, arm32v7, x86_64] make push
Once the image is built, it's ready to run:
$ docker run --rm -d -p 5645:5645/udp -p 7654:7654/udp supermock/supernode:[TAGNAME]
Just download the code make your change and send a pull request explaining the purpose if it is a bug or an improvement and etc... After this will be analyzed to be approved. Note: If it is a major change, open a issue explaining what will be done so you do not waste your precious time developing something that will not be used. Make yourself at home!
MIT