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

cost so long time to build #1257

Open
hchw opened this issue Jul 5, 2024 · 4 comments
Open

cost so long time to build #1257

hchw opened this issue Jul 5, 2024 · 4 comments

Comments

@hchw
Copy link

hchw commented Jul 5, 2024

cost so lang time to build .
Is there any way to speed it up?

@jtarchie
Copy link

If you are doing it within a container, ensure it has enough resources to compile.

@hchw
Copy link
Author

hchw commented Jul 19, 2024

thanks for reply, yes, I'm doing it with a container, the resouces is enough, but i will clean it after builded. in build mathion, no cache in the env

@hchw
Copy link
Author

hchw commented Jul 19, 2024

i mean the build container will be clean . i had build it from start always. i dont want to change build flow. how could i build it speedly

@jtarchie
Copy link

What you've described is a docker issue, not keeping the build cache.

Have you tried something like this? https://dev.to/jacktt/20x-faster-golang-docker-builds-289n

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

No branches or pull requests

2 participants