Skip to content

Conversation

wwuck
Copy link

@wwuck wwuck commented May 18, 2021

Fixes #4

@wwuck
Copy link
Author

wwuck commented May 18, 2021

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
Copy link
Author

wwuck commented May 18, 2021

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/

This will help when using in a CI context, eg. Jenkins
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

Successfully merging this pull request may close these issues.

jsonc docker image on docker hub?

1 participant