Closed miked0004 closed 6 years ago
I require no attribution. Just adding this because I found it useful. Feel free to grab the Dockerfile and reject the PR, if you find it useful.
I wonder why this is useful when you can have a go binary for every platform without containerizing it? Honest question this!
why this is useful when you can have a go binary for every platform without containerizing it?
I assume that you can run the binary from source code but don't have to install Go? But that's just a guess.
Ok, thanks for the consideration. Just an offer.
I guess we don’t auto build cross platform binaries for releases like we do for tusd. But if we set that up, what would the purpose for docker be for a cli tool @acconut?
Sent from mobile, pardon the brevity.
On 20 Feb 2018, at 02:21, miked0004 notifications@github.com wrote:
Closed #9.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
We do build cross platform binaries for all common platform already, for ever release. For example: https://github.com/kvz/json2hcl/releases/tag/v0.0.6
I see, so that circles us back to the question, why would docker be useful for cli tools if you already had binaries available for each platform. Serious question. I guess containing memory usage or privileges might be easy/er with it. Yes, I guess you could be sure it could not temper with files in your home dir unless you explicitly mapped volumes?
Sent from mobile, pardon the brevity.
On 20 Feb 2018, at 19:15, Marius notifications@github.com wrote:
We do build cross platform binaries for all common platform already, for ever release. For example: https://github.com/kvz/json2hcl/releases/tag/v0.0.6
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
As I said above my thought is that you can build it from source (no untrusted binary to download) without install Go, which is not the easiest installation process. But that's just a guess.
Ah right, to run the sources directly, missed that part sorry! 👌
Basic Docker wrapper of json2hcl.