coldsnap icon indicating copy to clipboard operation
coldsnap copied to clipboard

Docker image / pre-built binary

Open christophetd opened this issue 2 years ago • 5 comments

It would be awesome to provide a Docker image or pre-built binaries! I installed coldsnap manually, but since I don't use Rust it took me a solid 30 minutes to have everything running.

christophetd avatar Dec 08 '22 13:12 christophetd

Hi @christophetd, thanks for reaching out! Let me bring this up to the rest of the team to see what our options are.

jpculp avatar Dec 13 '22 01:12 jpculp

Amazing! I really think it would make it much easier to be used more widely and make it more popular. The main alternative right now is dsnap, which is easier to run (Python). But if we have a Docker image / pre-built binaries, coldsnap becomes actually easier to use than dsnap.

christophetd avatar Dec 13 '22 07:12 christophetd

My quick take on this is that binaries are probably easier to both create and use than docker images. Most Rust binaries are static and don't require any library linking at runtime, so it's usually as easy as downloading and using the executable binary without any install step required.

webern avatar Dec 13 '22 16:12 webern

If we have a binary it should be relatively trivial adding it to a distroless image as well?

christophetd avatar Dec 13 '22 16:12 christophetd

If we have a binary it should be relatively trivial adding it to a distroless image as well?

Yes, in fact it would be so trivial that I don't think publishing the resultant container would confer much benefit.

webern avatar Dec 13 '22 18:12 webern