Exclude all of go from runtime image #4
Reference in New Issue
Block a user
No description provided.
Delete Branch "ChausseBenjamin/main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your current image keeps all of go loaded in making it a pretty hefty image (850MB).
Might be better to compile your service to work standalone and include a single binary in the final image (7.5MB).
This also has the side effect of being more secure as if there were to be a vulnerability in the upstream go image, you wouldn't have it as you have no dependency other than you single binary.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.