I’m talking not only about trusting the distribution chain but about the situation where some services dont rebuild their images using updated bases if they dont have a new release.

So per example if the particular service latest tag was a year ago they keep distributing it with a year old alpine base…

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    I don’t think a year old base is bad. Unless there’s an absolutely devastating CVE in something like the network stack or a particular shared library, any vulnerabilities in it will probably be just privilege escalations that wouldn’t have any effect unless you were allowing people shell access to the container. Obviously, the application itself can have a vulnerability, but that would be the case regardless of base image.

  • B0rax@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    No. I only have a limited amount of time for maintaining my home infrastructure. I chose my battles.

    • jimmy90@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      5 months ago

      i do look out for new images that could be a drop in replacement

      the new no-distro builds of containers is very interesting

  • HotDog7@feddit.online
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    I don’t know enough about code to verify things myself. And I assume this applies for a lot of us here. So I just pray that nothing’s fucked in the distribution chain.

    • fizzle@quokk.au
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      I’m also in this category, but OP is talking about something else.

      Like if you use container-x, which has an alpine base. If it hasn’t released a new version in several years then you’re using a several year old alpine distro.

      I didn’t really realise this was a thing.

      • HotDog7@feddit.online
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        Ah, I have no idea what that is. I thought OP meant building stuff directly from Github (e.g. Ungoogled Chromium). Thanks for the clarification! :)

        • fizzle@quokk.au
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          Containers have layers. So if you create an instance of a syncthing container whoever built that container would have started with some other container. Alpine linux is a very popular base layer, just used as an example in this discussion.

          When you download an image, all the layers underlying the application that you actually wanted, will only be as fresh as the last time the maintainer built that image. So if there were a bug in the alpine base, that might have been fixed in alpine, but wouldn’t by pushed through to whatever you downloaded.