From d1da8d785721fc5cde8fa41879eabc89012a3aff Mon Sep 17 00:00:00 2001 From: rgaudin Date: Mon, 14 Oct 2024 11:05:37 +0000 Subject: [PATCH] Build a mirrorbrain 3.0.0 image using :bookworm tag --- .github/workflows/docker.yml | 0 .github/workflows/mirrorbrain_ci.yml | 2 +- mirrorbrain/Dockerfile | 12 ++++++------ 3 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 .github/workflows/docker.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index e69de29b..00000000 diff --git a/.github/workflows/mirrorbrain_ci.yml b/.github/workflows/mirrorbrain_ci.yml index 921cdb50..9d43cd11 100644 --- a/.github/workflows/mirrorbrain_ci.yml +++ b/.github/workflows/mirrorbrain_ci.yml @@ -18,7 +18,7 @@ jobs: uses: openzim/docker-publish-action@v10 with: image-name: kiwix/mirrorbrain - on-master: latest + on-master: bookworm restrict-to: kiwix/container-images context: mirrorbrain registries: ghcr.io diff --git a/mirrorbrain/Dockerfile b/mirrorbrain/Dockerfile index 4f3fe153..cfed7b34 100644 --- a/mirrorbrain/Dockerfile +++ b/mirrorbrain/Dockerfile @@ -1,20 +1,20 @@ -FROM httpd:2.4.57 +FROM httpd:2.4.62 LABEL org.opencontainers.image.source https://github.com/kiwix/container-images LABEL maintainer="kiwix" #Set software versions -ENV MB_VERSION 3.0.0-dev0 +ENV MB_VERSION 3.0.0 ENV MB_USER_OR_ORG kiwix -ENV LIBMAXMINDDB_VERSION 1.7.1 +ENV LIBMAXMINDDB_VERSION 1.11.0 ENV MOD_MAXMINDDB_VERSION 1.2.0 -ENV GEOIPUPDATE_VERSION 6.0.0 +ENV GEOIPUPDATE_VERSION 7.0.1 ENV GEOIPUPDATE_ARCH amd64 #Install needed packages RUN mkdir -p /usr/share/man/man1/ /usr/share/man/man7/ && apt-get update && apt-get install -y --no-install-recommends wget cron automake libtool unzip libaprutil1-dbd-pgsql postgresql-client build-essential libz-dev libconfig-inifiles-perl libwww-perl libdbd-pg-perl libtimedate-perl libdigest-md4-perl libaprutil1-dev python3-setuptools python3-pip python3-sqlobject python3-psycopg2 python3-pip python3-dev python3-geoip2 rsync #Install cmdln manually since it is not packaged -RUN pip install --no-cache-dir --break-system-packages cmdln +RUN pip install --no-cache-dir --break-system-packages cmdln #Copy owned base config file for apache COPY config/apache/httpd.conf conf/httpd.conf @@ -42,7 +42,7 @@ RUN \ cd /usr/local/src/mod_maxminddb-${MOD_MAXMINDDB_VERSION} && \ ./configure && \ make install - + #Install MirrorBrain from sources RUN \ wget --no-check-certificate -qO - https://github.com/$MB_USER_OR_ORG/mirrorbrain/archive/refs/tags/$MB_VERSION.tar.gz | tar -xz && \