-v /etc/localtime:/etc/localtime:ro
或
-e "TZ=Asia/Shanghai"
ENV TZ=America/Los_Angeles
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
-v /etc/localtime:/etc/localtime:ro
或
-e "TZ=Asia/Shanghai"
ENV TZ=America/Los_Angeles
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone