Skip to content

use nano instead of vi and cleanup more apt caches - #205

Merged
phanan merged 1 commit into
koel:masterfrom
AEnterprise:install-optimalizations
Aug 31, 2025
Merged

use nano instead of vi and cleanup more apt caches#205
phanan merged 1 commit into
koel:masterfrom
AEnterprise:install-optimalizations

Conversation

@AEnterprise

Copy link
Copy Markdown
Contributor

More space optimalizations for the docker image, this one does a few related things

  • switch vim for nano. vim is a very heavy editor (40Mb) and overkill and complicated to use for people who have never used it, in addition most of the time you shouldn't even be editing configs from within the docker but mounting it from outside
  • combine the editor install with the other installs, due to the editor being installed without cleaning that layer was very bloated with apt caches
  • expand apt cache clearing, apt clean only deletes the packages downloaded, but not the sizable repository index stored in the lists directory

@AEnterprise
AEnterprise force-pushed the install-optimalizations branch from 7cc4f24 to 639325d Compare August 31, 2025 10:42
Comment thread Dockerfile
@phanan
phanan merged commit 86d3d5e into koel:master Aug 31, 2025
1 check passed
@phanan

phanan commented Aug 31, 2025

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants