hswaw/paperless: bump to v2.5.4
Change-Id: I2da532b06587344b0faf3d8028dc0e7796f9769a
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1911
Reviewed-by: radex <radex@hackerspace.pl>
diff --git a/hswaw/paperless/Dockerfile b/hswaw/paperless/Dockerfile
index e9cb652..289f099 100644
--- a/hswaw/paperless/Dockerfile
+++ b/hswaw/paperless/Dockerfile
@@ -1,15 +1,12 @@
# Note: this is required to run the container as non-root.
# Update:
-# export VERSION=1.7.0
+# export VERSION=2.5.4
# docker build --build-arg VERSION -t registry.k0.hswaw.net/informatic/paperless-ngx:$VERSION .
# docker push registry.k0.hswaw.net/informatic/paperless-ngx:$VERSION
-ARG VERSION=1.17.4
+ARG VERSION=2.5.4
FROM ghcr.io/paperless-ngx/paperless-ngx:${VERSION}
# Install polish tesseract training data
RUN apt-get update && apt-get install -y tesseract-ocr-pol && rm -rf /var/lib/apt/lists/*
-
-# Remove privilege dropping and use paperless user directly everywhere
-RUN sed -i 's/gosu paperless//g' /sbin/docker-entrypoint.sh && sed -i -e 's;user=.*;;g' -e 's;logfile=/var/.*;logfile=/dev/null;g' /etc/supervisord.conf