I am trying to create a Dockerfile to install PHP 7 on Ubuntu 16.04. This is supposed to fully automate the whole installation process. However, during the installation, it prompts me to select a Geographic area, which completely defeats the purpose.
The directive I am using is:
RUN apt-get update && apt-get install -y php
And here is the prompt:
How can I automate this? Maybe prepare some predefined values for the prompts in some manner?
Note: I am aware of this image link: https://hub.docker.com/_/php/. Unfortunately, the scripts there are overly complicated for me. I just need something nice and simple.
Thanks!

docker run phpis too complicated? and that's why you want to build your own docker image? okay ... – Gerald Schneider Aug 03 '18 at 07:26apt install -y phpinstalls php without further questions. – Gerald Schneider Aug 03 '18 at 07:30sudo apt install -y php. It went through without asking about a geographic location. – Gerald Schneider Aug 03 '18 at 07:36