Skip to content

Commit

Permalink
Build a mirrorbrain 3.0.0 image using :bookworm tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Oct 14, 2024
1 parent cc7be29 commit d1da8d7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Empty file removed .github/workflows/docker.yml
Empty file.
2 changes: 1 addition & 1 deletion .github/workflows/mirrorbrain_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions mirrorbrain/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 && \
Expand Down

0 comments on commit d1da8d7

Please sign in to comment.