This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
46 changed files
with
1,172 additions
and
696 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# EditorConfig: http://EditorConfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
end_of_line = lf | ||
charset = utf-8 | ||
max_line_length = 79 | ||
|
||
[{*.html,*.css,*.js}] | ||
max_line_length = off | ||
|
||
[*.py] | ||
indent_size = 4 | ||
indent_style = space | ||
|
||
# Tests don't get a line width restriction. It's still a good idea to follow | ||
# the 79 character rule, but in the interests of clarity, tests often need to | ||
# violate it. | ||
[**/test_*.py] | ||
max_line_length = off |
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
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
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.7 | ||
FROM alpine:3.8 | ||
|
||
LABEL maintainer="The Paperless Project https://github.com/danielquinn/paperless" \ | ||
contributors="Guy Addadi <[email protected]>, Pit Kleyersburg <[email protected]>, \ | ||
|
@@ -12,12 +12,11 @@ COPY scripts/docker-entrypoint.sh /sbin/docker-entrypoint.sh | |
ENV PAPERLESS_EXPORT_DIR=/export \ | ||
PAPERLESS_CONSUMPTION_DIR=/consume | ||
|
||
# Install dependencies | ||
RUN apk --no-cache --update add \ | ||
python3 gnupg libmagic bash shadow curl \ | ||
sudo poppler tesseract-ocr imagemagick ghostscript unpaper && \ | ||
apk --no-cache add --virtual .build-dependencies \ | ||
python3-dev poppler-dev gcc g++ musl-dev zlib-dev jpeg-dev && \ | ||
|
||
RUN apk update --no-cache && apk add python3 gnupg libmagic libpq bash shadow curl \ | ||
sudo poppler tesseract-ocr imagemagick ghostscript unpaper optipng && \ | ||
apk add --virtual .build-dependencies \ | ||
python3-dev poppler-dev postgresql-dev gcc g++ musl-dev zlib-dev jpeg-dev && \ | ||
# Install python dependencies | ||
python3 -m ensurepip && \ | ||
rm -r /usr/lib/python*/ensurepip && \ | ||
|
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
Oops, something went wrong.