How I manage my Containers and their Vulnerability Management across selfhosted infrastructure and how the patching of PHP2SHELL looked like

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    Why not use PHP hardened (distroless) images as a base for the final image?

    Why build your own images at all? I’m not sure I understood what advantage that gives you.

    Harbor looks interesting but that install procedure is ridiculous. Why would I run an installer script just to pull docker images, just give me a compose file ffs. The only way I’d ever consider it is inside an LXC container or a VM.

    Also, it sounds like they’ve never heard of a reverse proxy and don’t know you can do TLS that way? That does not inspire confidence.

    • surewhynotlem@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      Why build your own images at all?

      Trust. A LOT of docker images are just some person who decided to do it first. Hopefully php has an official one though.

      • lambalicious@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        PHP does have a number of official ones, yes, but the way they are designed still makes it often more efficient to just download their Dockerfiles and use as a guide to make your own (I’ve had to do that in particular because of how difficult it is to install some specific PHP extensions on their Alpine image sets).