...
The Dockerfile will be the only entity that controls the creation of the docker from a vanilla Ubuntu 1816.04 LTS and is responsible fro ALL dependency resolution. It may pull git repositories of even Ansible code to do so of case, but can also use regular apt commands.
...