From 7ebaf6ec173629929905edfd6bc575df308356f7 Mon Sep 17 00:00:00 2001 From: tickstep Date: Sat, 21 Sep 2024 18:50:59 +0800 Subject: [PATCH] update Dockerfile --- docker/sync/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/sync/Dockerfile b/docker/sync/Dockerfile index 76b55bb..a69a28a 100644 --- a/docker/sync/Dockerfile +++ b/docker/sync/Dockerfile @@ -13,6 +13,9 @@ LABEL description="sync & backup service for aliyun cloud drive" ENV TZ=Asia/Shanghai # 手动下载tzdata安装包,注意要下载对应架构的: https://dl-cdn.alpinelinux.org/alpine/v3.15/community/ RUN apk add -U tzdata +# 更新Alpine的软件源为国内镜像站点,提高下载速度。安装tzdata包 +# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories +# RUN apk add --no-cache tzdata RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # 创建运行目录