Application optimization reduces disk usage and reclaims space. 🙂

  • Boomkop3@reddthat.com
    link
    fedilink
    arrow-up
    1
    ·
    9 hours ago

    I might just start bundling my apps inside an environment setup with nix inside docker. A lot of them are similar to identical, So those docker images actually share a lot of layers under the hood.

    My apps after compiling and packaging are usually around 50mb. That’s 48mb of debian, which is entirely shared between all the images that I build. So the eventual size of my deployed applications isn’t nearly as big as they seem from the size of the tarball being sent around. So for 10 apps, that’s not 500mb, that’s 68mb.

    If anything, the docker hub and registry are a bit of a mess.