fix(pyload): build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2023-08-05 09:14:55 +02:00
parent a851703575
commit 712cf1adf6

View file

@ -41,6 +41,7 @@ RUN \
ffmpeg \ ffmpeg \
libjpeg-turbo \ libjpeg-turbo \
python3 \ python3 \
py3-pip \
sqlite \ sqlite \
tesseract-ocr && \ tesseract-ocr && \
echo "**** install pyload ****" && \ echo "**** install pyload ****" && \
@ -48,9 +49,7 @@ RUN \
if [[ -n "${VERSION}" && "${VERSION}" != "dev" ]]; then \ if [[ -n "${VERSION}" && "${VERSION}" != "dev" ]]; then \
PYLOAD="pyload-ng[all]==${VERSION}"; \ PYLOAD="pyload-ng[all]==${VERSION}"; \
fi && \ fi && \
python3 -m ensurepip --upgrade && \ pip3 install --break-system-packages -U "${PYLOAD}" && \
pip3 install -U wheel && \
pip3 install -U "${PYLOAD}" && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apk del --purge \ apk del --purge \
build-dependencies && \ build-dependencies && \