RUN sed -i s/deb.debian.org/mirrors.aliyun.com/g /etc/apt/sources.list && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
RUN apt update && apt-get install -y locales && apt-get -y install ttf-wqy-zenhei && apt-get -y install xfonts-intl-chinese && dpkg-reconfigure locales && localedef -c -f UTF-8 -i zh_CN zh_CN.utf8 && apt install -y curl
- 文章链接: https://blog.zhangcun.store/2022/09/13/dockerfile-geng-gai-debian-10-yuan/
- 版权声明: 本网站所有文章除特别声明外,均采用 CC BY-NC-ND 4.0 许可协议。转载请注明出处!
你的赏识是我前进的动力
支付宝
微信