i just ended up going with a new image with the components installed, which i’ve been informed is best practice.

  • aksdb@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 days ago

    The idiomatic way would be to build your own image. That’s exactly the strength of the layering of container images.

      • aksdb@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        13 minutes ago

        I think you won’t regret it. If the container startup installs stuff, you might lock yourself out when the remote server has issues, your network has issues, or if the package you install changes due to an update.

        With it baked into an image, you have reproducible results. If you build a new image and it doesn’t work anymore, you can immediately switch back to the old one and figure out the issue without pressure.