As the title says. I build containers for my platforms/clients/myself-selfhosted@home and you would not believe how much smaller you can get your images. Here’s an example when slimming one of my images:

cmd=build info=results status='MINIFIED' by='18.97X' size.original='1.0 GB' size.optimized='55 MB' 

That’s a Python app that I didn’t have to do multi-staged build with docker because of the Slim command. And it’s a working version of that app that I’m using today.

Same for one of my flutter apps that I thought it was as small as it could be:

cmd=build info=results status='MINIFIED' by='1.98X' size.original='66 MB' size.optimized='33 MB'

TLDR: slim your container images!! https://github.com/slimtoolkit/slim

    • Kangie@lemmy.srcfiles.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I was wrong on the internet; apparently with certain Lemmy apps this directs to a completely different website.

      What crack are you smoking? It’s literally a post about “building lightweight hardened containers”?

      Edit: wtf is townscaping? Is that like manscaping for a whole town? Or is it just regular landscaping.

      • lebigz@feddit.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Suuuper weird, when I click the link from the browser, I get to the correct page, but not in the Connect App. Then it’s some blog about old houses and nice places in towns

        • Kangie@lemmy.srcfiles.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Ok, that is weird and I retract my criticism. Just because I don’t see it doesn’t mean something unusual isn’t happening there!