Silent Installation using Dockerfile

Hello,
I’m trying to build a docker image of a Linux OS to access it using xrdp (I know that I should use VMs instead).

I found an image on Docker hub (https://hub.docker.com/r/rattydave/docker-ubuntu-xrdp-mate-custom/).

I want to use the provided Dockerfile to build the image, and I have a silent installation script to install a tool in the Linux image, so when I create a container, I find the tool installed. The silent script can be executed easily in a normal Linux environment (a simple command).

Is there a way to add the silent installation command to the provided Dockerfile?