This page contains random discoveries that we make. We’ll bring some structure to this page as we go.



  • --nodocs or --setopt=tsflags=nodocs

    • Average shrink is 5 to 10M

  • --setopt=install_weak_deps=false

    • Depending on the package could shrink alot, could shrink nothing

    • Can remove some functionality

  • install glibc-minimal-langpack <package(s)>

    • Average shrink is 200M

    • Can remove some language based functionality


These headings can/should be changed. They are what they currently are just for placeholders.

Investigating Minimization

  • httpd

  • nginx

  • mariadb

    • Drop perl ?

      • The two perl scripts in mariadb (mysqlaccess and mysql_find_rows) and might be considered being moved to a sub-package -client-utils, similiar to the perl scripts in -server-utils.

    • Drop systemd ?

      • The mariadb containers start with run-mysqld. systemd is not involved at all. Still investigating if there are other items, but first glance looks like we should be able to drop it.

  • postgresql

    • Drop systemd ?

  • systemd

  • mozjs60

    • It’s rather large, (25M - 30M) can it be removed from some package dependencies ?

  • perl

    • It’s rather large, can it be removed from some package dependencies ?

Finished Investigation

External Articles