mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-05-25 03:12:02 +00:00
Replaced pip breaking installs of dependencies with APK Edge versions
This commit is contained in:
parent
27ec4d5a8f
commit
84e0b4caa7
@ -65,11 +65,11 @@ RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /et
|
|||||||
tesseract-ocr-data-eng \
|
tesseract-ocr-data-eng \
|
||||||
# CV
|
# CV
|
||||||
py3-opencv \
|
py3-opencv \
|
||||||
# python3/pip
|
|
||||||
python3 \
|
python3 \
|
||||||
py3-pip && \
|
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-unoconv \
|
||||||
# uno unoconv and HTML
|
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-pillow \
|
||||||
pip install --break-system-packages --no-cache-dir --upgrade unoconv WeasyPrint pdf2image pillow && \
|
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-pdf2image \
|
||||||
|
-X https://dl-cdn.alpinelinux.org/alpine/edge/community weasyprint && \
|
||||||
mv /usr/share/tessdata /usr/share/tessdata-original && \
|
mv /usr/share/tessdata /usr/share/tessdata-original && \
|
||||||
mkdir -p $HOME /configs /logs /customFiles /pipeline/watchedFolders /pipeline/finishedFolders && \
|
mkdir -p $HOME /configs /logs /customFiles /pipeline/watchedFolders /pipeline/finishedFolders && \
|
||||||
fc-cache -f -v && \
|
fc-cache -f -v && \
|
||||||
|
@ -70,9 +70,11 @@ RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /et
|
|||||||
py3-opencv \
|
py3-opencv \
|
||||||
# python3/pip
|
# python3/pip
|
||||||
python3 \
|
python3 \
|
||||||
py3-pip && \
|
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-unoconv \
|
||||||
|
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-pillow \
|
||||||
|
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-pdf2image \
|
||||||
|
-X https://dl-cdn.alpinelinux.org/alpine/edge/community weasyprint && \
|
||||||
# uno unoconv and HTML
|
# uno unoconv and HTML
|
||||||
pip install --break-system-packages --no-cache-dir --upgrade unoconv WeasyPrint pdf2image pillow && \
|
|
||||||
mv /usr/share/tessdata /usr/share/tessdata-original && \
|
mv /usr/share/tessdata /usr/share/tessdata-original && \
|
||||||
mkdir -p $HOME /configs /logs /customFiles /pipeline/watchedFolders /pipeline/finishedFolders && \
|
mkdir -p $HOME /configs /logs /customFiles /pipeline/watchedFolders /pipeline/finishedFolders && \
|
||||||
fc-cache -f -v && \
|
fc-cache -f -v && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user