jsonc icon indicating copy to clipboard operation
jsonc copied to clipboard

Add dockerfile

Open wwuck opened this issue 4 years ago • 2 comments

Fixes #4

wwuck avatar May 18 '21 02:05 wwuck

I wasn't sure how to tell go to only build the cli command, but I guess for such a short build time it doesn't really matter too much.

wwuck avatar May 18 '21 07:05 wwuck

I'm also not sure if this is the correct way to build a static binary with Go but it seems to work. Needed because the final image is created from scratch so there are no extra OS or library files in the image.

https://hub.docker.com/_/scratch/

wwuck avatar May 18 '21 08:05 wwuck