nathanielc / morgoth

Metric anomaly detection
http://docs.morgoth.io
Apache License 2.0
280 stars 31 forks source link

Non-CGO_ENABLED builds desirable #31

Closed abourget closed 8 years ago

abourget commented 8 years ago

I'm trying to use the GitHub releases but it seems the Linux build for amd64 has dependencies.. I wanted to use it in alpine alonside the standard alpine-based kapacitor image..

/ # ldd /usr/bin/morgoth
    /lib64/ld-linux-x86-64.so.2 (0x558cd1924000)
    libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x558cd1924000)
    libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x558cd1924000)
nathanielc commented 8 years ago

Good point, this should be as simple as CGO_ENABLED=0 for the gox command in the travis config. That would force all builds to be static builds.

I'll need to do some basic testing but Morgoth is pretty simple so I don't expect using static builds for all platforms to cause any issues.

nathanielc commented 8 years ago

@abourget I just cut a v0.2.1 release that uses static builds. Otherwise not changes were made.

abourget commented 8 years ago

great thanks a million times :)