Noob question - Building Docker image with interactive prompts

Hi all,

I am a bit of a Docker noob right now so please go easy on me. Haha.

I am trying to build an Ubuntu Server 16.04 image that has a particular package installed and configured. I’ve created an image for a basic Ubuntu Server 16.04. I now want to build on top of that image. The package I want to install within this image has a bunch of interactive prompts during the installation that I’m not sure how to deal with. One of the dependencies for the package is MariaDB which gets installed as part of the installation. There are various prompts for this as well.

I’ve obviously done some research and tried various things already but I am struggling.

Is anyone able to offer any advice?