Closed neicureuil closed 1 month ago
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 :
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 :