ci: update dockerfiles

oragono got renamed, and distros have been updated in the last decade
This commit is contained in:
mathieui
2025-04-18 01:01:33 +02:00
parent 0427562733
commit 64f1b1b9ec
4 changed files with 16 additions and 21 deletions
+7 -14
View File
@@ -1,18 +1,16 @@
# This Dockerfile creates a docker image suitable to run biboumi’s build and
# tests. For example, it can be used on with gitlab-ci.
FROM docker.io/debian:buster
FROM debian:bookworm
ENV LC_ALL C.UTF-8
ENV LC_ALL=C.UTF-8
RUN apt update
# Needed to build biboumi
RUN apt install -y --no-install-recommends \
RUN apt update && apt install -y --no-install-recommends \
git \
make \
cmake \
g++ \
ca-certificates \
libuuid1 \
libudns-dev \
libexpat1-dev \
@@ -24,15 +22,10 @@ uuid-dev \
libgcrypt20-dev \
libpq-dev \
valgrind \
libasan5 \
libubsan0 \
python3-pip \
libasan6 \
libubsan1 \
python3-lxml \
python3-dev \
python3-slixmpp \
wget
RUN wget "https://github.com/oragono/oragono/releases/download/v2.0.0/oragono-2.0.0-linux-x64.tar.gz" && tar xvf oragono-2.0.0-linux-x64.tar.gz && cp oragono-2.0.0-linux-x64/oragono /usr/local/bin
# Install slixmpp, for e2e tests
RUN git clone https://github.com/saghul/aiodns.git && cd aiodns && git checkout 7ee13f9bea25784322~ && python3 setup.py build && python3 setup.py install && git clone https://lab.louiz.org/poezio/slixmpp && pip3 install pyasn1 && cd slixmpp && python3 setup.py build && python3 setup.py install