Compare commits
No commits in common. "aad8ada2e17a5dce8b01c38cee63c5945ac94042" and "2efde6f73df15786b3f4f78fddef6122ce12f7eb" have entirely different histories.
aad8ada2e1
...
2efde6f73d
@ -1,4 +1,4 @@
|
|||||||
FROM docker.io/alpine:3.21 AS builder
|
FROM docker.io/alpine:3.19 AS builder
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
@ -14,9 +14,9 @@ RUN apk add --no-cache \
|
|||||||
libffi-dev \
|
libffi-dev \
|
||||||
linux-headers
|
linux-headers
|
||||||
|
|
||||||
ENV VERSION=v2.15.3
|
ENV VERSION=v2.7.2
|
||||||
ENV ARCHIVE=paperless-ngx-$VERSION.tar.xz
|
ENV ARCHIVE=paperless-ngx-$VERSION.tar.xz
|
||||||
ENV SHA256_SUM=20cd5961b1f91bde5cb6743ae8eb7f8fd98d66ba67d49d5ab030d87c998ac2d1
|
ENV SHA256_SUM=b6508e2f96c9c5c6d9005d0005a30a920f131f2e07dbc8e634b87226f1976f44
|
||||||
RUN wget https://github.com/paperless-ngx/paperless-ngx/releases/download/$VERSION/$ARCHIVE
|
RUN wget https://github.com/paperless-ngx/paperless-ngx/releases/download/$VERSION/$ARCHIVE
|
||||||
RUN echo "$SHA256_SUM $ARCHIVE" | sha256sum -c - || exit 1
|
RUN echo "$SHA256_SUM $ARCHIVE" | sha256sum -c - || exit 1
|
||||||
RUN mkdir -p /install
|
RUN mkdir -p /install
|
||||||
@ -32,7 +32,7 @@ RUN python3 -m venv env
|
|||||||
RUN env/bin/pip3 install -r requirements.txt
|
RUN env/bin/pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
|
||||||
FROM docker.io/thallian/alpine-s6:3.21-3.2.0.2
|
FROM docker.io/thallian/alpine-s6:3.19-3.1.6.2
|
||||||
|
|
||||||
RUN addgroup -g 2222 paperless
|
RUN addgroup -g 2222 paperless
|
||||||
RUN adduser -h /var/lib/paperless -u 2222 -D -G paperless paperless
|
RUN adduser -h /var/lib/paperless -u 2222 -D -G paperless paperless
|
||||||
@ -52,8 +52,7 @@ RUN apk add --no-cache \
|
|||||||
tesseract-ocr-data-osd \
|
tesseract-ocr-data-osd \
|
||||||
unpaper \
|
unpaper \
|
||||||
font-liberation \
|
font-liberation \
|
||||||
poppler-utils \
|
poppler-utils
|
||||||
openblas
|
|
||||||
|
|
||||||
COPY --from=builder /install /var/lib/paperless
|
COPY --from=builder /install /var/lib/paperless
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user