Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #612 from languitar/tesseract-4.1
Browse files Browse the repository at this point in the history
Upgrade Docker image to Alpine 3.11
  • Loading branch information
MasterofJOKers authored Mar 1, 2020
2 parents 745ac22 + 19b9b2a commit 222acb8
Show file tree
Hide file tree
Showing 4 changed files with 293 additions and 305 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
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]>, \
Expand Down Expand Up @@ -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

Expand All @@ -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
Loading

0 comments on commit 222acb8

Please sign in to comment.