Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile standalone binary #275

Open
abitrolly opened this issue Dec 18, 2023 · 4 comments
Open

Compile standalone binary #275

abitrolly opened this issue Dec 18, 2023 · 4 comments

Comments

@abitrolly
Copy link

How to compile the project into a single binary that doesn't require Java o be installed?

@alexeagle
Copy link

@mikelalcon hi from Bazel maintainer - I trip over this at clients regularly. Forcing users to build your application from source is fraught with perils, such as polluting their @maven namespace with versions of libraries you use, requiring Java on their PATH when rules_jvm_external is non-hermetic, slower, harder to install, and more.

Would you be interested in a PR to add some automation here that publishes an uberjar for each release? If not I may create a separate repo in the spirit of https://github.com/aspect-build/bsdtar-prebuilt that publishes this, since I need it frequently.

@abitrolly
Copy link
Author

@alexeagle I don't think any release related work is gonna happen - see this comment #273 (comment) from @hsudhof. So a separate repo looks like the only option.

@alexeagle
Copy link

Okay, that's not surprising, thanks for tracking that down. I agree that won't work - and Google Cloud Build is a non-starter since they won't give non-googlers access to needed bits.

@mikelalcon
Copy link
Collaborator

I think we should have some kind of release, but we cannot offer version compatibility for now.

I let @hsudhof decide if we do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants