Build debian-based docker images

Hi,

I need to add some optional components to my docker image, and would be much easier on top of a debian-based image.

I’ve seen the docs here make reference to debian and ubuntu based images but not sure how to use them. I’m finding issues like Dockerfiles using ash instead of bashas the shell, and hass-base tries to install packages with APK… which make me think I’m clearly following the wrong process :slight_smile:

Is there any guidance available on how to build custom non-alpine based images? Do I need to build docker-base, then add python, then hass-base and finally hass-core myself? How could I use the images listed on the docs, e.g. amd64-base-debian?

thanks!

Are you trying to make a docker image for home assistant or for an addon.

This is for home assistant itself, not an addon.