mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 14:32:14 +08:00
update Dockerfile
This commit is contained in:
parent
1e205b52a3
commit
7ebaf6ec17
@ -13,6 +13,9 @@ LABEL description="sync & backup service for aliyun cloud drive"
|
|||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
||||||
# 手动下载tzdata安装包,注意要下载对应架构的: https://dl-cdn.alpinelinux.org/alpine/v3.15/community/
|
# 手动下载tzdata安装包,注意要下载对应架构的: https://dl-cdn.alpinelinux.org/alpine/v3.15/community/
|
||||||
RUN apk add -U tzdata
|
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
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|
||||||
# 创建运行目录
|
# 创建运行目录
|
||||||
|
Loading…
Reference in New Issue
Block a user