This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# base_image - Bare bones image with the base packages needed to run Mayan EDMS
|
||||
####
|
||||
|
||||
FROM debian:10.0-slim as base_image
|
||||
FROM debian:11.0-slim as base_image
|
||||
|
||||
LABEL maintainer="Roberto Rosario roberto.rosario@mayan-edms.com"
|
||||
|
||||
@@ -42,7 +42,7 @@ apt-get update \
|
||||
sane-utils \
|
||||
sudo \
|
||||
supervisor \
|
||||
git \
|
||||
tesseract-ocr tesseract-ocr-deu \
|
||||
# Remove make and build dependencies
|
||||
&& apt-get remove make libproxy-tools libreoffice-avmedia-backend-vlc libvlc-bin libvlc5 libvlccore9 adwaita-icon-theme gsettings-desktop-schemas libgstreamer-plugins-base1.0-0 -y \
|
||||
&& apt-get autoremove -y --purge \
|
||||
@@ -60,12 +60,6 @@ apt-get update \
|
||||
; fi \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN printf "deb http://httpredir.debian.org/debian stretch-backports main non-free\ndeb-src http://httpredir.debian.org/debian stretch-backports main non-free" > /etc/apt/sources.list.d/backports.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -t stretch-backports -y libtesseract-dev libleptonica-dev liblept5 tesseract-ocr tesseract-ocr-deu \
|
||||
&& apt-get autoremove -y --purge \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
####
|
||||
# builder_image - This image builds the Python package and is discarded afterwards
|
||||
# only the build artifact is carried over to the next image.
|
||||
|
||||
Reference in New Issue
Block a user