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

Speed up docker build time by using go build cache #1732

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

seokho-son
Copy link
Member

  • 기존 dockerfile은 golang의 build cache를 활용하지 못해서, 상시 관련 pkg를 다운로드 받는 등, 효율이 떨어지고 속도가 오래 걸렸음. docker buildx 키트를 활용하여, golang의 build cache를 활용할 수 있도록 개선
    • 기존 이미지 빌드 속도: 약 140초
    • 개선 이미지 빌드 속도: 약 20초

굿.

@github-actions github-actions bot added the docs Improvements or additions to documentation label Aug 15, 2024
@seokho-son
Copy link
Member Author

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label Aug 15, 2024
@cb-github-robot cb-github-robot merged commit 5b5e46b into cloud-barista:main Aug 15, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This PR is approved and will be merged soon. docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants