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

core: optimize the image size and build time 🔥 #136

Merged
merged 4 commits into from
Mar 18, 2024
Merged

core: optimize the image size and build time 🔥 #136

merged 4 commits into from
Mar 18, 2024

Conversation

tungbq
Copy link
Owner

@tungbq tungbq commented Mar 18, 2024

Part of: #104

Changes

Improve the image size and build time🔥

  • core/improve: install python with apt instead of building from source code (so get rid of the needs of build tool installed)
  • remove unnecessary build tool
  • use python3.11 in the toolkit
  • faster build time

Improvement result:

  • size: from 2.11 GB -> 1.41 GB ✔️
  • time: from 5m -> 53s
  • CI time from 6min30s -> 1m21s
  • Same improvement for the CD pipeline)

@github-actions github-actions bot added the core label Mar 18, 2024
@tungbq tungbq added enhancement New feature or request docker labels Mar 18, 2024
@tungbq tungbq changed the title core: improve the image size 🔥 core: improve the image size and build time 🔥 Mar 18, 2024
@tungbq tungbq changed the title core: improve the image size and build time 🔥 core: optimize the image size and build time 🔥 Mar 18, 2024
@tungbq tungbq merged commit 1e2b055 into main Mar 18, 2024
3 checks passed
@tungbq tungbq deleted the issue-104 branch March 18, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core docker enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant