From 3e57254469d099e34d0496a7e57067322c1817cd Mon Sep 17 00:00:00 2001 From: mol Date: Fri, 26 Jan 2024 06:14:29 +0000 Subject: [PATCH] feat: test --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f42e6a..3a3a902 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,9 @@ ARG PROXY RUN export http_proxy=${PROXY} && \ export https_proxy=${PROXY} && \ apt-get update && \ + # 时区 + apt-get install -y tzdata && \ + ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata && \ # 安装 curl apt-get install -y curl && \ # 安装 vim @@ -24,9 +27,6 @@ RUN export http_proxy=${PROXY} && \ apt-get install -y git && \ # 安装 ssh 服务 apt-get install -y openssh-server && \ - # 时区 - # apt-get install -y tzdata && \&& dpkg-reconfigure -f noniteractive tzdata - ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ # 创建日志文件 touch info.log