jetstack / version-checker

Kubernetes utility for exposing image versions in use, compared to latest available upstream, as metrics.
https://jetstack.io
Apache License 2.0
691 stars 78 forks source link

Improve build speed #193

Closed lukaszraczylo closed 3 months ago

lukaszraczylo commented 4 months ago
  1. Utilise github cache for golang modules
  2. Build binaries outside of the container
  3. Inject binaries into the distroless container
  4. Ship the container
  5. Profit.
lukaszraczylo commented 4 months ago

Build time down from 17-18m+ to 4.5m

davidcollom commented 3 months ago

We dropped ARMv7 Support and updated the Dockerfile, which has brought build times down to 2m a piece..