Skip to content

Static x86_64 builds #1

@philwhineray

Description

@philwhineray

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:

  1. Update x86_64-static/netdata/docker-build.sh to make a package of some kind and settle any options to ./configure.
  2. Update build-x86_64-static.sh to copy the packages from under build/x86_64-static/netdata on the to the output/packages folder.
  3. Wait until a master build succeeds on travis
  4. Create a tag and watch the results appear in a github release!

Of these, 1 is almost all of the work, of course...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions