Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit 07c9cdb

Browse files
committed
Deprecate image
1 parent b5dc5d7 commit 07c9cdb

File tree

4 files changed

+15
-223
lines changed

4 files changed

+15
-223
lines changed

Dockerfile

Lines changed: 2 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1
2+
13
FROM ghcr.io/linuxserver/baseimage-ubuntu:focal
24

35
# set version label
@@ -7,80 +9,6 @@ ARG PAPERMERGE_RELEASE
79
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
810
LABEL maintainer="alex-phillips"
911

10-
# ensures our console output looks familiar and is not buffered by Docker
11-
ENV PYTHONUNBUFFERED 1
12-
ENV DJANGO_SETTINGS_MODULE config.settings.production
13-
ARG DEBIAN_FRONTEND="noninteractive"
14-
15-
# NOTE: the additional lib and python dependencies are for the ARM builds
16-
ARG BUILD_PACKAGES="\
17-
apache2-dev \
18-
build-essential \
19-
git \
20-
libffi-dev \
21-
libpq-dev \
22-
libmariadbclient-dev \
23-
libxml2-dev \
24-
libxslt-dev \
25-
python3-dev \
26-
python3-pip"
27-
28-
# packages as variables
29-
ARG RUNTIME_PACKAGES="\
30-
imagemagick \
31-
libmariadb3 \
32-
libpq5 \
33-
libxslt1.1 \
34-
poppler-utils \
35-
python3 \
36-
python3-cryptography \
37-
python3-distutils \
38-
python3-mysqldb \
39-
python3-psycopg2 \
40-
python3-setuptools \
41-
redis \
42-
tesseract-ocr \
43-
tesseract-ocr-eng \
44-
uwsgi \
45-
uwsgi-plugin-python3"
46-
47-
RUN \
48-
apt-get update && \
49-
echo "**** install build packages ****" && \
50-
apt-get install -y \
51-
--no-install-recommends \
52-
$BUILD_PACKAGES && \
53-
echo "**** install runtime packages ****" && \
54-
apt-get install -y \
55-
--no-install-recommends \
56-
$RUNTIME_PACKAGES && \
57-
echo "**** install papermerge ****" && \
58-
mkdir -p /app/papermerge && \
59-
if [ -z ${PAPERMERGE_RELEASE+x} ]; then \
60-
PAPERMERGE_RELEASE=$(curl -sX GET "https://api.github.com/repos/ciur/papermerge/releases/latest" \
61-
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
62-
fi && \
63-
curl -o \
64-
/tmp/papermerge.tar.gz -L \
65-
"https://github.com/ciur/papermerge/archive/${PAPERMERGE_RELEASE}.tar.gz" && \
66-
tar xf \
67-
/tmp/papermerge.tar.gz -C \
68-
/app/papermerge/ --strip-components=1 && \
69-
echo "**** install pip packages ****" && \
70-
cd /app/papermerge && \
71-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ django==3.1.7 && \
72-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/base.txt && \
73-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/production.txt && \
74-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/extra/mysql.txt && \
75-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/extra/pg.txt && \
76-
echo "**** cleanup ****" && \
77-
apt-get purge -y --auto-remove \
78-
$BUILD_PACKAGES && \
79-
rm -rf \
80-
/root/.cache \
81-
/tmp/* && \
82-
apt-get clean -y
83-
8412
# copy local files
8513
COPY root/ /
8614

Dockerfile.aarch64

Lines changed: 2 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1
2+
13
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-focal
24

35
# set version label
@@ -7,80 +9,6 @@ ARG PAPERMERGE_RELEASE
79
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
810
LABEL maintainer="alex-phillips"
911

10-
# ensures our console output looks familiar and is not buffered by Docker
11-
ENV PYTHONUNBUFFERED 1
12-
ENV DJANGO_SETTINGS_MODULE config.settings.production
13-
ARG DEBIAN_FRONTEND="noninteractive"
14-
15-
# NOTE: the additional lib and python dependencies are for the ARM builds
16-
ARG BUILD_PACKAGES="\
17-
apache2-dev \
18-
build-essential \
19-
git \
20-
libffi-dev \
21-
libpq-dev \
22-
libmariadbclient-dev \
23-
libxml2-dev \
24-
libxslt-dev \
25-
python3-dev \
26-
python3-pip"
27-
28-
# packages as variables
29-
ARG RUNTIME_PACKAGES="\
30-
imagemagick \
31-
libmariadb3 \
32-
libpq5 \
33-
libxslt1.1 \
34-
poppler-utils \
35-
python3 \
36-
python3-cryptography \
37-
python3-distutils \
38-
python3-mysqldb \
39-
python3-psycopg2 \
40-
python3-setuptools \
41-
redis \
42-
tesseract-ocr \
43-
tesseract-ocr-eng \
44-
uwsgi \
45-
uwsgi-plugin-python3"
46-
47-
RUN \
48-
apt-get update && \
49-
echo "**** install build packages ****" && \
50-
apt-get install -y \
51-
--no-install-recommends \
52-
$BUILD_PACKAGES && \
53-
echo "**** install runtime packages ****" && \
54-
apt-get install -y \
55-
--no-install-recommends \
56-
$RUNTIME_PACKAGES && \
57-
echo "**** install papermerge ****" && \
58-
mkdir -p /app/papermerge && \
59-
if [ -z ${PAPERMERGE_RELEASE+x} ]; then \
60-
PAPERMERGE_RELEASE=$(curl -sX GET "https://api.github.com/repos/ciur/papermerge/releases/latest" \
61-
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
62-
fi && \
63-
curl -o \
64-
/tmp/papermerge.tar.gz -L \
65-
"https://github.com/ciur/papermerge/archive/${PAPERMERGE_RELEASE}.tar.gz" && \
66-
tar xf \
67-
/tmp/papermerge.tar.gz -C \
68-
/app/papermerge/ --strip-components=1 && \
69-
echo "**** install pip packages ****" && \
70-
cd /app/papermerge && \
71-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ django==3.1.7 && \
72-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/base.txt && \
73-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/production.txt && \
74-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/extra/mysql.txt && \
75-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/extra/pg.txt && \
76-
echo "**** cleanup ****" && \
77-
apt-get purge -y --auto-remove \
78-
$BUILD_PACKAGES && \
79-
rm -rf \
80-
/root/.cache \
81-
/tmp/* && \
82-
apt-get clean -y
83-
8412
# copy local files
8513
COPY root/ /
8614

Dockerfile.armhf

Lines changed: 2 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1
2+
13
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-focal
24

35
# set version label
@@ -7,80 +9,6 @@ ARG PAPERMERGE_RELEASE
79
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
810
LABEL maintainer="alex-phillips"
911

10-
# ensures our console output looks familiar and is not buffered by Docker
11-
ENV PYTHONUNBUFFERED 1
12-
ENV DJANGO_SETTINGS_MODULE config.settings.production
13-
ARG DEBIAN_FRONTEND="noninteractive"
14-
15-
# NOTE: the additional lib and python dependencies are for the ARM builds
16-
ARG BUILD_PACKAGES="\
17-
apache2-dev \
18-
build-essential \
19-
git \
20-
libffi-dev \
21-
libpq-dev \
22-
libmariadbclient-dev \
23-
libxml2-dev \
24-
libxslt-dev \
25-
python3-dev \
26-
python3-pip"
27-
28-
# packages as variables
29-
ARG RUNTIME_PACKAGES="\
30-
imagemagick \
31-
libmariadb3 \
32-
libpq5 \
33-
libxslt1.1 \
34-
poppler-utils \
35-
python3 \
36-
python3-cryptography \
37-
python3-distutils \
38-
python3-mysqldb \
39-
python3-psycopg2 \
40-
python3-setuptools \
41-
redis \
42-
tesseract-ocr \
43-
tesseract-ocr-eng \
44-
uwsgi \
45-
uwsgi-plugin-python3"
46-
47-
RUN \
48-
apt-get update && \
49-
echo "**** install build packages ****" && \
50-
apt-get install -y \
51-
--no-install-recommends \
52-
$BUILD_PACKAGES && \
53-
echo "**** install runtime packages ****" && \
54-
apt-get install -y \
55-
--no-install-recommends \
56-
$RUNTIME_PACKAGES && \
57-
echo "**** install papermerge ****" && \
58-
mkdir -p /app/papermerge && \
59-
if [ -z ${PAPERMERGE_RELEASE+x} ]; then \
60-
PAPERMERGE_RELEASE=$(curl -sX GET "https://api.github.com/repos/ciur/papermerge/releases/latest" \
61-
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
62-
fi && \
63-
curl -o \
64-
/tmp/papermerge.tar.gz -L \
65-
"https://github.com/ciur/papermerge/archive/${PAPERMERGE_RELEASE}.tar.gz" && \
66-
tar xf \
67-
/tmp/papermerge.tar.gz -C \
68-
/app/papermerge/ --strip-components=1 && \
69-
echo "**** install pip packages ****" && \
70-
cd /app/papermerge && \
71-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ django==3.1.7 && \
72-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/base.txt && \
73-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/production.txt && \
74-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/extra/mysql.txt && \
75-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r ./requirements/extra/pg.txt && \
76-
echo "**** cleanup ****" && \
77-
apt-get purge -y --auto-remove \
78-
$BUILD_PACKAGES && \
79-
rm -rf \
80-
/root/.cache \
81-
/tmp/* && \
82-
apt-get clean -y
83-
8412
# copy local files
8513
COPY root/ /
8614

readme-vars.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ project_url: "https://www.papermerge.com/"
66
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/papermerge-icon.png"
77
project_blurb: |
88
[{{ project_name|capitalize }}]({{ project_url }}) is an open source document management system (DMS) primarily designed for archiving and retrieving your digital documents. Instead of having piles of paper documents all over your desk, office or drawers - you can quickly scan them and configure your scanner to directly upload to Papermerge DMS."
9-
109
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
1110

11+
project_deprecation_status: true
12+
project_deprecation_message: |
13+
The last working tag is:
14+
v2.0.1-ls60
15+
We recommend the official image instead:
16+
https://hub.docker.com/r/papermerge/papermerge
17+
1218
# supported architectures
1319
available_architectures:
1420
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
@@ -43,8 +49,10 @@ app_setup_block: |
4349
More info at [papermerge]({{ project_url }}).
4450
4551
If you need non-English OCR language support, you can use [this mod](https://github.com/linuxserver/docker-mods/tree/papermerge-multilangocr).
52+
4653
# changelog
4754
changelogs:
55+
- { date: "15.02.23:", desc: "Deprecate image." }
4856
- { date: "15.07.22:", desc: "Don't install development python packages" }
4957
- { date: "13.04.21:", desc: "Handle upstream stapler change" }
5058
- { date: "13.03.21:", desc: "Fixed mglib dependency per issue 32"}

0 commit comments

Comments
 (0)