<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Alternative lightweight base image]]></title><description><![CDATA[<p dir="auto">I’ve published a small "swap-in" alternative to <code>cloudron/base:5.1</code> for packaging small utility apps:</p>
<p dir="auto">Docker Hub : <code>tcmbp132021/cloudron-minibase:0.0.1</code></p>
<p dir="auto">Base image is only 50Mb !!<br />
Apps built with it can be only 200-500Mb.<br />
AppsMonitor, just published as Community App, is only 307Mb.<br />
That compares to 2.5Gb and counting for official full base image packages.</p>
<p dir="auto"><strong>Usage</strong> (basically same as a regular Cloudron Dockerfile) :<br />
<code>FROM tcmbp132021/cloudron-minibase:0.0.1@sha256:a9c29ddb555b1a33f1e5b3b70c512e3a799cc691770d5016c70e0195e74764e0</code></p>
<p dir="auto"><strong>NOTE</strong> : This is not about app runtime performance. The large official base image is usually fine there because Docker layer sharing helps a lot.  Apps built with cloudron-minibase use mostly the same runtime memory as if they were built with official base image.</p>
<p dir="auto">For me, the main issue has been <strong>build time and image transfer time</strong>.<br />
AppsMonitor, using cloudron-minibase, took <strong>43s</strong> for entire build script, start to finish, including building and pushing to container repo.</p>
<p dir="auto"><strong>cloudron-minibase is a stripped-down Cloudron-compatible base image with just the basics</strong> (it's not alpine or whatever):</p>
<ul>
<li><code>bash</code></li>
<li><code>gosu</code></li>
<li><code>nano</code></li>
<li>locale support</li>
<li>CA certs</li>
<li>common shell/debug tools</li>
</ul>
<p dir="auto"><strong>It leaves out the big bundled pieces</strong> like:</p>
<ul>
<li>Node</li>
<li>Python</li>
<li>PHP</li>
<li>Java</li>
<li>nginx</li>
<li>Apache</li>
<li>DB clients</li>
<li>supervisor</li>
</ul>
<p dir="auto">Need any of the excluded pieces ?  Just install them.<br />
The app packager pulls into their app only the runtime components the app actually actually needs.</p>
<p dir="auto"><strong>cloudron-minibase</strong> is built from the official cloudron/base:5.1 image, just removing what is not essential.</p>
<p dir="auto">Main benefits:</p>
<ul>
<li>smaller pulls</li>
<li>smaller pushes</li>
<li>faster rebuild cycles</li>
<li>less unused stuff in app images</li>
<li>nice fit for simple apps or static binaries</li>
</ul>
<p dir="auto">If anyone finds this useful, I can share more details or refine it further.</p>
]]></description><link>https://forum.cloudron.io/topic/15955/alternative-lightweight-base-image</link><generator>RSS for Node</generator><lastBuildDate>Mon, 14 Sep 2026 10:24:22 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15955.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 13 Sep 2026 00:05:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Alternative lightweight base image on Mon, 14 Sep 2026 09:21:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> thank you.</p>
<p dir="auto">And thanks for not reacting with horror at the approach ! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=4f71667e9ca" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">It feels too good to be true but I just asked my AI to check it, and it says 50Mb also.</p>
<pre><code>`tcmbp132021/cloudron-minibase:0.0.1@sha256:a9c29ddb555b1a33f1e5b3b70c512e3a799cc691770d5016c70e0195e74764e0` is a **manifest list**, not a single image.

For its actual `linux/amd64` image on Docker Hub:
- child manifest: `sha256:85b5d851685962eecb7acfe3adaa77907b023fbe81f09cfc29a722eb03f6c952`
- compressed layers total: `52,223,700` bytes
- with config: `52,227,752` bytes
- size: **49.8 MB**

So the practical answer is: **about 50 MB on Docker Hub**.
</code></pre>
<p dir="auto">My repo is at <a href="https://forgejo.tcjc.uk/cca/cloudron-minibase.git" target="_blank" rel="noopener noreferrer nofollow ugc">https://forgejo.tcjc.uk/cca/cloudron-minibase.git</a>.<br />
Sure, please take whatever you want.<br />
There's a MIT licence on it.</p>
<p dir="auto">Hope you don't find any 'gotchas' ! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f923.png?v=4f71667e9ca" class="not-responsive emoji emoji-android emoji--rolling_on_the_floor_laughing" style="height:23px;width:auto;vertical-align:middle" title=":rolling_on_the_floor_laughing:" alt="🤣" /></p>
<p dir="auto">I thought about producing a series of common deployments :</p>
<ul>
<li>cloudron-minibase+node</li>
<li>cloudron-minibase+python<br />
-etc.</li>
</ul>
<p dir="auto">That's more in keeping with a 'batteries-included' philosophy.  But I wanted to run it for a while and discover issues.  AppsMonitor seems to running fine after a couple of days.</p>
]]></description><link>https://forum.cloudron.io/post/129405</link><guid isPermaLink="true">https://forum.cloudron.io/post/129405</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Mon, 14 Sep 2026 09:21:57 GMT</pubDate></item><item><title><![CDATA[Reply to Alternative lightweight base image on Mon, 14 Sep 2026 07:04:16 GMT]]></title><description><![CDATA[<p dir="auto">Great initiative <a class="plugin-mentions-user plugin-mentions-a" href="/user/timconsidine" aria-label="Profile: timconsidine">@<bdi>timconsidine</bdi></a> . I am quite open to this approach. In fact, I already remove PHP in 5.1 base image (it's an image of it's own called php-base).  Node is also on it's way out, this is why it's not in the PATH anymore. Each app package is now explicitly opting in to  node.</p>
<p dir="auto">Locally, my cloudron/base:5.1.0 is 2.42GB! It's insane you got this down to 50Mb . If you can share your Dockerfile, I will incorporate your changes into the base image, if that's ok with you <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=4f71667e9ca" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/129396</link><guid isPermaLink="true">https://forum.cloudron.io/post/129396</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 14 Sep 2026 07:04:16 GMT</pubDate></item></channel></rss>