Wie installiere ich Python-OpenCV, ohne die Fragen zu beantworten?

Wie installiere ich Python-OpenCV, ohne die Fragen zu beantworten?

Ich versuche, ein Docker-Image zu erstellen (mithilfe einer Docker-Datei) und muss als Teil des Vorgangs installieren apt-get install python-opencv. Aber es werden all diese Fragen zu geographic areaund anderen Dingen gestellt. Und ich kann sie nicht beantworten, da dies Teil des Vorgangs zur Erstellung eines Docker-Images ist. Wie kann ich ein Docker-Image erstellen, ohne python-opencvirgendwelche Fragen beantworten zu müssen?

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: 

Antwort1

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

verwandte Informationen