livepeer / catalyst-uploader

Livepeer cloud storage upload utility. Called by Mist to upload video segments. Has CLI interface.
1 stars 3 forks source link

Request: livepeer catalyst uploader static build #79

Open pedrompcaetano opened 1 month ago

pedrompcaetano commented 1 month ago

Hi,

I've been tinkering with catalyst uploader, and I've bumped into an issue while trying to use the provided build inside mistserver container provided by ddvtech. Simply bind mounting the binary inside the container unfortunately does not work.

Since mistserver container is a very trimmed down alpine image, it is not possible to run the currently available binary, as it's linked against libpthread.

` $ ldd livepeer-catalyst-uploader

linux-vdso.so.1 (0x00007ffdc38b1000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fbf3598a000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbf35985000) libc.so.6 => /lib64/libc.so.6 (0x00007fbf35600000) /lib64/ld-linux-x86-64.so.2 (0x00007fbf359a6000) `

Is it possible to provide a statically built binary?

Thank you for your time, Pedro

thomshutt commented 1 month ago

@pedrompcaetano are you able submit a PR for this? We're happy to produce multiple different binaries if it's helpful