• @[email protected]
    link
    fedilink
    68 months ago

    What do people use Alpine for? Embedded systems?

    I sometimes see it used for Docker containers, but usually a distroless or “chiseled” container is a better fit and can be even lighter weight.

    • @[email protected]
      link
      fedilink
      English
      78 months ago

      I’ve only seen it used for docker images because it’s so small, but I believe postmarketOS is also based on it

      • @HStone32
        link
        28 months ago

        Pretty sure post market is actually based on manjaro.

        • @[email protected]
          link
          fedilink
          English
          5
          edit-2
          8 months ago

          lol no, it’s alpine based. basing something on Manjaro would be pretty dumb anyways, might as well go straight off Arch (especially dumb since neither have official ARM support which phones need)

        • @[email protected]
          link
          fedilink
          English
          28 months ago

          The biggest upside is that Alpine is small. The base installation is about 5 MB! Thanks to that, our development/installation tool pmbootstrap is able to abstract everything in chroots and therefore keep the development environment consistent, no matter which Linux distribution your host runs on. And if you messed up (or we have a bug), you can simply run pmbootstrap zap and the chroot will be set up again in seconds.

          Another benefit of the tininess of Alpine - many older devices don’t have much storage space to spare, so small system images can be anything ranging from useful to required.

          https://postmarketos.org/faq/

    • @[email protected]
      link
      fedilink
      28 months ago

      I used it on my laptop a little while back and it works pretty great. Although the stable software repositories are kind of small (doesn’t even have tcc) which is the reason I switched back to Void. Still, it’s great to see GNU as an operating system component isn’t needed that much anymore in Linux.

      • @[email protected]
        link
        fedilink
        28 months ago

        Interesting - I didn’t know it was complete enough to run on a laptop as I’ve only seen it on servers. Good to know!