如果有人想在 Dockerfile ,使用方法如下。
Dockerfile
ENV DEBIAN_FRONTEND=noninteractive RUN apt-get -y install tzdata