Removed duplicate package paths

This commit is contained in:
Connor Yoh 2025-02-15 18:45:29 +00:00
parent 84e0b4caa7
commit 1ad348b9a7
2 changed files with 12 additions and 12 deletions

View File

@ -39,8 +39,8 @@ ENV DOCKER_ENABLE_SECURITY=false \
# JDK for app # JDK for app
RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories && \ RUN echo "@main https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories && \
echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \ echo "@community https://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \
echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" | tee -a /etc/apk/repositories && \ echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" | tee -a /etc/apk/repositories && \
apk upgrade --no-cache -a && \ apk upgrade --no-cache -a && \
apk add --no-cache \ apk add --no-cache \
@ -66,10 +66,10 @@ RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /et
# CV # CV
py3-opencv \ py3-opencv \
python3 \ python3 \
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-unoconv \ py3-unoconv@testing \
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-pillow \ py3-pillow@testing \
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-pdf2image \ py3-pdf2image@testing \
-X https://dl-cdn.alpinelinux.org/alpine/edge/community weasyprint && \ weasyprint@community && \
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 && \

View File

@ -41,8 +41,8 @@ ENV DOCKER_ENABLE_SECURITY=false \
# JDK for app # JDK for app
RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories && \ RUN echo "@main https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories && \
echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \ echo "@community https://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \
echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" | tee -a /etc/apk/repositories && \ echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" | tee -a /etc/apk/repositories && \
apk upgrade --no-cache -a && \ apk upgrade --no-cache -a && \
apk add --no-cache \ apk add --no-cache \
@ -70,10 +70,10 @@ RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /et
py3-opencv \ py3-opencv \
# python3/pip # python3/pip
python3 \ python3 \
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-unoconv \ py3-unoconv@testing \
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-pillow \ py3-pillow@testing \
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing py3-pdf2image \ py3-pdf2image@testing \
-X https://dl-cdn.alpinelinux.org/alpine/edge/community weasyprint && \ weasyprint@community && \
# uno unoconv and HTML # uno unoconv and HTML
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 && \