From f715f321c798a25fd8e575a7f3c0f4bc35b4db94 Mon Sep 17 00:00:00 2001 From: benoit74 Date: Mon, 12 Aug 2024 10:37:00 +0000 Subject: [PATCH 1/2] Upgrade maintenance image and add pydantic --- maintenance/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maintenance/Dockerfile b/maintenance/Dockerfile index aa1a69b7..9b4c0674 100644 --- a/maintenance/Dockerfile +++ b/maintenance/Dockerfile @@ -1,5 +1,5 @@ -FROM docker.io/library/python:3.11-slim-bookworm +FROM docker.io/library/python:3.12-slim-bookworm LABEL org.opencontainers.image.source https://github.com/kiwix/container-images # debian-slim based python container with libzim @@ -29,8 +29,8 @@ ENV LC_ALL en_US.UTF-8 VOLUME /data RUN pip install --no-cache-dir -U \ - "zimscraperlib==3.1.1" "unidecode==1.3.7" "mwclient==0.10.1" "humanfriendly==10.0" \ - "pyyaml==6.0.1" "pycountry==22.3.5" "jinja2==3.1.2" && \ + "zimscraperlib==4.0.0" "unidecode==1.3.8" "mwclient==0.11.0" "humanfriendly==10.0" \ + "pyyaml==6.0.2" "pycountry==24.6.1" "jinja2==3.1.4" "pydantic==2.8.2" && \ printf "#!/bin/bash\n\n\ set -e\n\ \ From 86a895c9e253d3b70731398bd0b7231cf53ef862 Mon Sep 17 00:00:00 2001 From: benoit74 Date: Mon, 12 Aug 2024 10:40:39 +0000 Subject: [PATCH 2/2] fixup! Upgrade maintenance image and add pydantic --- maintenance/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/maintenance/Dockerfile b/maintenance/Dockerfile index 9b4c0674..5d667697 100644 --- a/maintenance/Dockerfile +++ b/maintenance/Dockerfile @@ -10,6 +10,7 @@ RUN apt-get update -y \ vim \ cron \ libmagic1 \ + libcairo2 \ curl \ openssh-server \ && apt-get clean \