brigadecore / brigade

Event-driven scripting for Kubernetes
https://brigade.sh/
Apache License 2.0
2.4k stars 247 forks source link

Dockerfiles: cache go mods in their own layer #1913

Closed krancour closed 2 years ago

krancour commented 2 years ago

This PR makes image builds that include binaries built with Go a little bit faster when they're done repeatedly (e.g. during dev). It does this by caching the results of dependency resolution in a separate layer of each image.

netlify[bot] commented 2 years ago

Deploy Preview for brigade-docs ready!

Name Link
Latest commit c9d7699ad475d7bbc3a3bb784a8953673ca65bca
Latest deploy log https://app.netlify.com/sites/brigade-docs/deploys/624f61e571cdc50009e8c1e5
Deploy Preview https://deploy-preview-1913--brigade-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.