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

Support incremental builds for containers #5313

Closed
sansmoraxz opened this issue Dec 23, 2023 · 0 comments
Closed

Support incremental builds for containers #5313

sansmoraxz opened this issue Dec 23, 2023 · 0 comments
Labels
feature-request All issues for new features that have not been committed to needs-discussion

Comments

@sansmoraxz
Copy link
Contributor

sansmoraxz commented Dec 23, 2023

Proposal

Use the build cache from GOCACHE while building container images.

Use-Case

Currently it takes quite a long time to build the images. Although using vendor bypasses having to pull the packages from remote, the bulk of the time is spent on compiling the codebase. Having the build cache mounted from host machine would significantly improve the build time (especially rebuilds after making slight changes to codebase).

Is this a feature you are interested in implementing yourself?

Yes

Anything else?

Alternatively we could bind the entire go env GOCACHE from the host system while building. But this could have a lot of edge cases with different OS and architectures, viz. would be relatively tough to pull off with windows as they use different file systems.

@sansmoraxz sansmoraxz added feature-request All issues for new features that have not been committed to needs-discussion labels Dec 23, 2023
@github-project-automation github-project-automation bot moved this from To Triage to Ready To Ship in Roadmap - KEDA Core Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request All issues for new features that have not been committed to needs-discussion
Projects
Archived in project
Development

No branches or pull requests

2 participants