Docker package installation expects data entry
I’m trying to install opencv on docker image, but docker not reads stdin
Dockerfile
FROM ubuntu:18.04
RUN apt-get update
&& apt-get install tesseract-ocr -y
tesseract-ocr-rus
ffmpeg
python3
#python-setuptools
python3-pip
python3-opencv
&& apt-get clean
&& apt-get autoremove
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY ./server /usr/src/app
COPY ./requirements.txt /usr/src/app
RUN python3 -m pip install --upgrade pip
RUN pip3 install -r requirements.txt
RUN ls
EXPOSE 8000
CMD [ "python3", "./manage.py", "runserver", "0.0.0.0:8000" ]
Terminal:
...
debconf: falling back to frontend: Readline
Configuring tzdata
------------------
Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.
1. Africa 4. Australia 7. Atlantic 10. Pacific 13. Etc
2. America 5. Arctic 8. Europe 11. SystemV
3. Antarctica 6. Asia 9. Indian 12. US
He expects data entry
How can i pass data entry or how to input data?
Source: Docker Questions