mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-08 04:14:01 -05:00
[PR #82] [MERGED] Reduce periphery image size #7889
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/82
Author: @neicureuil
Created: 9/14/2024
Status: ✅ Merged
Merged: 9/21/2024
Merged by: @mbecker20
Base:
main← Head:feature/small-periphery📝 Commits (3)
757e2f4Reduce periphery image size109044drename new alpine Dockerfile as slim.Dockerfile7699747bump slim dockerfile rust version📊 Changes
2 files changed (+30 additions, -1 deletions)
View changed files
📝
bin/periphery/Dockerfile(+1 -1)➕
bin/periphery/slim.Dockerfile(+29 -0)📄 Description
Periphery Image Size Optimization
The original image was approximately 700 MB, which I believe can be significantly reduced. For comparison, the Portainer agent image is around 200 MB.
To achieve this reduction, I refactored the base image to use Alpine instead of Debian-slim, including only the necessary dependencies.
After that I got an image around 150 MB.
All functionality appears to remain consistent with the previous image.
I have do some tests :
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.