如何在不回答问题的情况下安装python-opencv?

Meh*_*ran 5 opencv docker

我正在尝试创建一个 docker 映像(使用 Dockerfile),并且作为该过程的一部分,我必须安装apt-get install python-opencv. 但它提出了所有这些问题geographic area以及其他问题。我无法回答他们,因为它正在创建 docker 映像的过程中。如何在python-opencv不回答任何问题的情况下创建 docker 镜像?

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: 
Run Code Online (Sandbox Code Playgroud)

Meh*_*ran 7

DEBIAN_FRONTEND="noninteractive" apt-get install --yes python-opencv
Run Code Online (Sandbox Code Playgroud)