File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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-
2523WORKDIR /app/llonebot
2624
2725COPY docker/startup.sh /startup.sh
You can’t perform that action at this time.
0 commit comments