Skip to content

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

Merged
tungbq merged 4 commits intomainfrom
issue-104
Mar 18, 2024
Merged

core: optimize the image size and build time 🔥#136
tungbq merged 4 commits intomainfrom
issue-104

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
@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