From 99c2ac3d877d5ea8a21563bc3209b1469e459185 Mon Sep 17 00:00:00 2001 From: nyyu Date: Wed, 23 Nov 2022 19:27:09 +0100 Subject: [PATCH] fix: pip error --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 90ccb89..0cb6294 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,6 @@ RUN \ ffmpeg \ libjpeg-turbo \ p7zip \ - py3-pip \ python3 \ sqlite \ tesseract-ocr && \ @@ -33,8 +32,9 @@ RUN \ if [[ -n "${VERSION}" && "${VERSION}" != "dev" ]]; then \ PYLOAD="pyload-ng[all]==${VERSION}"; \ fi && \ - pip3 install -U pip setuptools wheel && \ - pip install -U --find-links https://wheel-index.linuxserver.io/alpine-3.16/ \ + python3 -m ensurepip --upgrade && \ + pip3 install -U wheel && \ + pip3 install -U --find-links https://wheel-index.linuxserver.io/alpine-3.16/ \ "${PYLOAD}" && \ echo "**** cleanup ****" && \ apk del --purge \