Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve build speed #193

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

lukaszraczylo
Copy link

@lukaszraczylo lukaszraczylo commented May 16, 2024

  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.

1. Build binaries outside of the container
2. Inject binaries into the distroless container
3. Ship the container
4. Profit.
It will ensure that removed / outdated dependencies will not be pulled in.
@lukaszraczylo
Copy link
Author

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

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.

None yet

1 participant