🐛 fix: add build tools to Dockerfile back

This commit is contained in:
SigureMo 2023-11-19 00:05:04 +08:00
parent 1880fc2cf0
commit 1527e05d5a
No known key found for this signature in database
GPG Key ID: F99A3CD7BD76B247
1 changed files with 3 additions and 1 deletions

View File

@ -5,9 +5,11 @@ LABEL maintainer="siguremo" \
RUN set -x \
&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
&& apk add -q --progress --update --no-cache --virtual .build-deps gcc g++ build-base python3-dev libffi-dev \
&& apk add -q --progress --update --no-cache ffmpeg python3 py-pip tzdata \
&& python3 -m pip install --no-cache-dir --pre yutto -i https://pypi.tuna.tsinghua.edu.cn/simple \
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& apk del --purge .build-deps
WORKDIR /app