diff --git a/Dockerfile b/Dockerfile index 1c94a1f90..60498741c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11.5-slim-bullseye +FROM python:3.11.5-slim-bookworm ENV PYVERSION 3.11 ENV WEBLATE_VERSION 5.0.2 ENV WEBLATE_EXTRAS all,MySQL,zxcvbn,test @@ -50,7 +50,6 @@ ENV PYTHONUNBUFFERED=1 COPY requirements.txt Gemfile patches /app/src/ # Install dependencies -# TODO: drop libtesseract4 once https://github.com/sirfz/tesserocr/issues/322 is fixed # hadolint ignore=DL3008,DL3013,SC2046,DL3003 RUN \ export DEBIAN_FRONTEND=noninteractive \ @@ -75,15 +74,12 @@ RUN \ pkg-config \ file \ make \ - libtesseract4 \ libcairo2-dev \ libxml2-dev \ libacl1-dev \ libmariadb3 \ libmariadb-dev \ libxmlsec1-dev \ - libleptonica-dev \ - libtesseract-dev \ libsasl2-dev \ libldap2-dev \ libldap-common \ @@ -101,7 +97,7 @@ RUN \ unzip \ xz-utils \ && c_rehash \ - && echo "deb http://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" > /etc/apt/sources.list.d/pgdg.list \ + && echo "deb http://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" > /etc/apt/sources.list.d/pgdg.list \ && curl -L https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \ && apt-get update \ && apt-get install --no-install-recommends -y \ @@ -134,8 +130,6 @@ RUN \ ruby-dev \ cmake \ pkg-config \ - libleptonica-dev \ - libtesseract-dev \ libmariadb-dev \ libgirepository1.0-dev \ libxml2-dev \