The botan dependency has introduced a number of breaking changes with version 3, a couple of which impact biboumi as well This patch makes biboumi compatible with botan 3 and drops support for botan 2 at the same time As a consequence of the botan dependency update, C++ version has to be upgraded to C++ 20 https://botan.randombit.net/handbook/migration_guide.html
43 lines
916 B
Docker
43 lines
916 B
Docker
# 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 fedora:latest
|
||
|
||
ENV LC_ALL=C.UTF-8
|
||
|
||
# TODO: upgrade to botan3
|
||
RUN dnf --refresh install -y \
|
||
git \
|
||
make \
|
||
cmake \
|
||
gcc-c++ \
|
||
uuid-devel \
|
||
udns-devel \
|
||
expat-devel \
|
||
libidn-devel \
|
||
sqlite-devel \
|
||
botan2-devel \
|
||
systemd-devel \
|
||
libuuid-devel \
|
||
libgcrypt-devel \
|
||
postgresql-devel \
|
||
lcov \
|
||
libasan \
|
||
libubsan \
|
||
valgrind \
|
||
python3-pip \
|
||
python3-lxml \
|
||
python3-devel \
|
||
python3-sphinx \
|
||
python-sphinx_rtd_theme \
|
||
wget \
|
||
fedora-packager \
|
||
rpmdevtools \
|
||
&& dnf clean all
|
||
|
||
# Install slixmpp, for e2e tests
|
||
RUN pip3 install --break-system-packages slixmpp
|
||
|
||
# Install oragono, for e2e tests
|
||
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
|