whitesource / unified-agent-distribution

51 stars 48 forks source link

Produce a static binary #43

Open seanlaff opened 1 year ago

seanlaff commented 1 year ago

Running the unified agent has a dependency on java, which complicates its use.

We have a large gitlab estate and want to provide a centralized mend job for all of our users to import. If the unified agent was a single statically linked executable, we could tell our users "add this ci file import wherever you build your code, and it will just work". However, because it's a jar all of our users have to add java to their build environments.. which is especially painful since we don't need java for anything else.

Using something like graalVM's native image builder seems like a promising solution https://www.graalvm.org/22.0/reference-manual/native-image/

LenaKleyner commented 1 year ago

Hi @seanlaff, thanks for the feedback.

We are exploring several directions to address this, one of them is the Mend CLI. In any case, could you please submit a feature request via our support portal?

Thanks!