Skip to content

Commit eea3112

Browse files
committed
ci(docker): fix
1 parent d948d63 commit eea3112

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

docker/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,18 @@ RUN set -eux; \
88
# 检查版本号是否有效
99
[ -n "$ALPINE_VERSION" ] || { echo "Error: Failed to get Alpine version"; exit 1; }; \
1010
# 配置阿里云镜像源
11-
echo "https://mirrors.aliyun.com/alpine/v$ALPINE_VERSION/main" > /etc/apk/repositories; \
12-
echo "https://mirrors.aliyun.com/alpine/v$ALPINE_VERSION/community" >> /etc/apk/repositories; \
11+
# echo "https://mirrors.aliyun.com/alpine/v$ALPINE_VERSION/main" > /etc/apk/repositories; \
12+
# echo "https://mirrors.aliyun.com/alpine/v$ALPINE_VERSION/community" >> /etc/apk/repositories; \
1313
# 更新索引
1414
apk update; \
1515
# 安装时区工具
16-
apk add --no-cache tzdata ffmpeg; \
16+
apk add --no-cache tzdata ffmpeg unzip wget; \
1717
# 设置时区为上海
1818
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime; \
1919
echo "Asia/Shanghai" > /etc/timezone; \
2020
# 清理缓存减少镜像体积
2121
rm -rf /var/cache/apk/*
2222

23-
RUN apk add unzip wget
24-
2523
WORKDIR /app/llonebot
2624

2725
COPY docker/startup.sh /startup.sh

0 commit comments

Comments
 (0)