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
38 lines
744 B
Docker
38 lines
744 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 alpine:latest
|
||
|
||
ENV LC_ALL C.UTF-8
|
||
|
||
# Needed to build biboumi
|
||
RUN apk add --no-cache \
|
||
git \
|
||
make \
|
||
cmake \
|
||
g++ \
|
||
libuuid \
|
||
udns-dev \
|
||
expat-dev \
|
||
libidn-dev \
|
||
sqlite-dev \
|
||
botan3-dev \
|
||
util-linux-dev \
|
||
libgcrypt-dev \
|
||
postgresql-dev \
|
||
valgrind \
|
||
py3-pip \
|
||
py3-lxml \
|
||
python3-dev \
|
||
libffi-dev \
|
||
go \
|
||
rust \
|
||
cargo \
|
||
wget
|
||
|
||
# Install oragono, for e2e tests
|
||
RUN wget "https://github.com/ergochat/ergo/archive/v2.0.0.tar.gz" && tar xvf "v2.0.0.tar.gz" && cd "ergo-2.0.0" && make && cp ~/go/bin/oragono /usr/local/bin/oragono
|
||
|
||
# Install slixmpp, for e2e tests
|
||
RUN pip3 install slixmpp --break-system-packages
|