Parte de mi Dockerfile es como:
RUN apt-get install -yqq software-properties-common RUN add-apt-repository ppa:ubuntugis/ppa && apt-get update -yqq RUN apt-get install -yqq gdal-bin RUN apt-get install -yqq postgisInstalé postgis repo, luego instalé postgis, pero cuando llegué al paso de instalación de postgis, aparece este mensaje en la pantalla y está atascado allí.
debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) 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 Geographic area:¿Alguien tiene alguna idea?
Use RUN DEBIAN_FRONTEND=noninteractive apt-get install -yqq postgis cuando instale postgis para suprimir el cuadro de diálogo, o use ARG DEBIAN_FRONTEND=noninteractive que tampoco persistirá en el contenedor pero tendrá el mismo efecto.
Quizás también se refiera a https://github.com/docker/docker/issues/4032