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

Release: would be possible to statically compile to a single binary file? #115

Closed
tiero opened this issue Feb 18, 2019 · 3 comments
Closed

Comments

@tiero
Copy link

tiero commented Feb 18, 2019

rust-lang/rust#24777

I'm not an expert, but do you think would be possible to have as release artifacts also a binary?

@romanz
Copy link
Owner

romanz commented Feb 19, 2019

Thanks for opening this issue!
Currently, there is a Dockerfile which can be used for creating Docker images as part of the release process. See https://github.com/romanz/electrs/blob/master/doc/usage.md#docker for usage example.

@romanz romanz closed this as completed Feb 27, 2019
@tiero
Copy link
Author

tiero commented Mar 14, 2019

Currently, there is a Dockerfile which can be used for creating Docker images as part of the release process. See https://github.com/romanz/electrs/blob/master/doc/usage.md#docker for usage example.

Yes I'm using docker in my CI pipeline, the fact is installing rust and building electrs each time is a bit of no-op. Would love to have the binary already built at least for linux.

I would try myself to do it and see if possible

@tiero
Copy link
Author

tiero commented Mar 14, 2019

Here, just to demonstrate for Linux.
https://github.com/vulpemventures/electrs/releases/tag/v0.4.1-bin

Of course, signing and other machinery would be needed

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

2 participants