While trying to install libapache2-mod-php via apt-get, it will prompt for information regarding your geographic area. To avoid this do, put the following in your Dockerfile (configure the timezone that’s appropriate for you):
ENV TZ=Asia/Singapore
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone