Until you're more comfortable with the container model, I recommend sticking with Ubuntu LTS images, such as ubuntu:18.04. That way if something breaks, you have a familiar environment to work with.
Once you have gathered a mental model, feel free to tune your images by basing them on something lighter.
Once you have gathered a mental model, feel free to tune your images by basing them on something lighter.