Skip to content

Commit

Permalink
Merge pull request #262 from kiwix/upgrade_maintenance
Browse files Browse the repository at this point in the history
Upgrade maintenance image and add pydantic
  • Loading branch information
benoit74 authored Aug 12, 2024
2 parents 5795da1 + 86a895c commit 8e80348
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions maintenance/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -10,6 +10,7 @@ RUN apt-get update -y \
vim \
cron \
libmagic1 \
libcairo2 \
curl \
openssh-server \
&& apt-get clean \
Expand All @@ -29,8 +30,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\
\
Expand Down

0 comments on commit 8e80348

Please sign in to comment.