[PR #82] [MERGED] Reduce periphery image size #7889

Closed
opened 2026-04-27 21:56:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: mainHead: feature/small-periphery


📝 Commits (3)

  • 757e2f4 Reduce periphery image size
  • 109044d rename new alpine Dockerfile as slim.Dockerfile
  • 7699747 bump 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 :

  • Deploy and Remove a stack
  • Build an image from a repository
  • Prune system images
  • Read some containers logs
  • Prune volumes

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/moghtech/komodo/pull/82 **Author:** [@neicureuil](https://github.com/neicureuil) **Created:** 9/14/2024 **Status:** ✅ Merged **Merged:** 9/21/2024 **Merged by:** [@mbecker20](https://github.com/mbecker20) **Base:** `main` ← **Head:** `feature/small-periphery` --- ### 📝 Commits (3) - [`757e2f4`](https://github.com/moghtech/komodo/commit/757e2f431ababdb2f3bbf358bef0da7d27aaeb27) Reduce periphery image size - [`109044d`](https://github.com/moghtech/komodo/commit/109044d031c4ee5fc611b0275ea5de46221b4354) rename new alpine Dockerfile as slim.Dockerfile - [`7699747`](https://github.com/moghtech/komodo/commit/76997479242d818b3d7c31a65de62c14bec0ebf4) bump slim dockerfile rust version ### 📊 Changes **2 files changed** (+30 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `bin/periphery/Dockerfile` (+1 -1) ➕ `bin/periphery/slim.Dockerfile` (+29 -0) </details> ### 📄 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 : - Deploy and Remove a stack - Build an image from a repository - Prune system images - Read some containers logs - Prune volumes ![image](https://github.com/user-attachments/assets/8eb75919-50c6-42a3-b297-aedff6595028) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-27 21:56:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#7889