This repository has been archived by the owner on Feb 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #612 from languitar/tesseract-4.1
Upgrade Docker image to Alpine 3.11
- Loading branch information
Showing
4 changed files
with
293 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.10 | ||
FROM alpine:3.11 | ||
|
||
LABEL maintainer="The Paperless Project https://github.com/the-paperless-project/paperless" \ | ||
contributors="Guy Addadi <[email protected]>, Pit Kleyersburg <[email protected]>, \ | ||
|
@@ -52,6 +52,9 @@ RUN apk add --no-cache \ | |
adduser -D -u 1000 -G paperless -h /usr/src/paperless paperless && \ | ||
chown -Rh paperless:paperless /usr/src/paperless && \ | ||
mkdir -p $PAPERLESS_EXPORT_DIR && \ | ||
# Avoid setrlimit warnings | ||
# See: https://gitlab.alpinelinux.org/alpine/aports/issues/11122 | ||
echo 'Set disable_coredump false' >> /etc/sudo.conf && \ | ||
# Setup entrypoint | ||
chmod 755 /sbin/docker-entrypoint.sh | ||
|
||
|
@@ -67,4 +70,4 @@ COPY data/ /usr/src/paperless/data/ | |
COPY media/ /usr/src/paperless/media/ | ||
|
||
# Collect static files | ||
RUN sudo -HEu paperless /usr/src/paperless/src/manage.py collectstatic --clear --no-input | ||
RUN sudo -HEu paperless /usr/src/paperless/src/manage.py collectstatic --clear --no-input |
Oops, something went wrong.