当我使用RUN apt-get update && apt-get install -y httpd
命令时,它会询问如下内容
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
我如何在 Ubuntu 20.04 中继续使用它?
答案1
使用:
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -qqy httpd