I have added a static x86_64 build using alpine and linux in commit 05f7bcb which can be the foundation for some generic packaging.
@ktsaou I will not have any more time to work on this until next week at the earliest but the binaries are built statically and appear to run as expected.
If you follow the readme instructions you should be able to get the build-x86_64-static.sh to run without much trouble.
The result of make install currently goes to build/x86_64-static/netdata/opt on the host, given the prefix used for configure and the DESTDIR for make install within the container.
What is left to do:
- Update
x86_64-static/netdata/docker-build.sh to make a package of some kind and settle any options to ./configure.
- Update
build-x86_64-static.sh to copy the packages from under build/x86_64-static/netdata on the to the output/packages folder.
- Wait until a master build succeeds on travis
- Create a tag and watch the results appear in a github release!
Of these, 1 is almost all of the work, of course...
I have added a static x86_64 build using alpine and linux in commit 05f7bcb which can be the foundation for some generic packaging.
@ktsaou I will not have any more time to work on this until next week at the earliest but the binaries are built statically and appear to run as expected.
If you follow the readme instructions you should be able to get the
build-x86_64-static.shto run without much trouble.The result of
make installcurrently goes tobuild/x86_64-static/netdata/opton the host, given the prefix used forconfigureand theDESTDIRformake installwithin the container.What is left to do:
x86_64-static/netdata/docker-build.shto make a package of some kind and settle any options to./configure.build-x86_64-static.shto copy the packages from underbuild/x86_64-static/netdataon the to theoutput/packagesfolder.Of these, 1 is almost all of the work, of course...