¿Cómo instalar python-opencv sin responder las preguntas?

¿Cómo instalar python-opencv sin responder las preguntas?

Estoy intentando crear una imagen de Docker (usando un Dockerfile) y, como parte del proceso, tengo que instalar apt-get install python-opencv. Pero plantea todas estas preguntas sobre geographic areay otras cosas. Y no puedo responderles ya que está dentro del proceso de creación de una imagen acoplable. ¿Cómo se puede crear una imagen acoplable python-opencvsin tener que responder ninguna pregunta?

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
Geographic area: 

Respuesta1

DEBIAN_FRONTEND="noninteractive" apt-get install --yes python-opencv

información relacionada