electrs icon indicating copy to clipboard operation
electrs copied to clipboard

Any thoughts on making an "official" docker hub image?

Open truesilver92 opened this issue 5 years ago • 12 comments

truesilver92 avatar Jul 25 '20 02:07 truesilver92

Good question - as of today I prefer to have source releases, since I don't want to require more trust when downloading a binary/Docker release. You can use the included Dockerfile to build your own image if needed.

romanz avatar Jul 25 '20 09:07 romanz

Building electrs with librocksdb linked dynamically is deterministic, so we could both sign such binaries and anyone else interested could join. I already sign my deb packages but I understand most people will not want to manually unpack them (unless it becomes the preferred method of deployment), so I'm willing to sign binaries themselves if there's a demand.

Kixunil avatar Nov 28 '20 21:11 Kixunil

Good question - as of today I prefer to have source releases, since I don't want to require more trust when downloading a binary/Docker release. You can use the included Dockerfile to build your own image if needed.

Would you be interested in a GitHub workflow that builds and attaches binaries to every release? I would like to deploy electrs to my raspberry and was thinking of creating a -bin AUR package to avoid compiling on it. It would be significantly easier if I could just download a binary from the release.

I understand that this requires trust in GitHub's CI service but maybe we can use it as a starting point? Tooling to verify that the build is in fact what we expect and as a result uploading a signature can be built on top of this.

thomaseizinger avatar Dec 23 '21 07:12 thomaseizinger

@thomaseizinger if can get some people to reproduce and sign the releases then I'm in favor.

Kixunil avatar Dec 23 '21 12:12 Kixunil

@thomaseizinger if can get some people to reproduce and sign the releases then I'm in favor.

I am not sure I completely follow. Uploading a release-asset requires write access to the repository so I think it would have to be done by maintainers? Or are you thinking of a workflow where non-maintainers reproduce and sign and then request the signature to be uploaded to the release?

thomaseizinger avatar Dec 23 '21 22:12 thomaseizinger

We could have some dedicated place to upload signatures for verified developers (to avoid spam).

Kixunil avatar Dec 24 '21 09:12 Kixunil