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


Hey there!

i have an Owncast container that needs two extra files added to it every time it starts up because the base image doesn’t include them. they can be downloaded from within the container. i just need a way to tell the container to always do that when it starts up.

i’ve tried adding this to my quadlet:

[Container]

Exec=apk update && apk add --no-cache mesa-va-gallium mesa-dri-gallium

but it doesn’t work.

does anyone know how to correctly automate this?

thanks!

  • InnerScientist@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 days ago

    Well, ithe correct way would be to create a new container image using your current image as the base and executing your commands, you then need to rebuild that image when the base image is updated.