Files
biboumi/docker/test/fedora/Dockerfile
T

45 lines
1.0 KiB
Docker
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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/fedora:44
ARG ERGO_VERSION=2.16.0
ENV LC_ALL=C.UTF-8
RUN dnf --refresh install -y \
git \
make \
cmake \
gcc-c++ \
uuid-devel \
udns-devel \
expat-devel \
libidn-devel \
sqlite-devel \
botan3-devel \
systemd-devel \
libcurl-devel \
libuuid-devel \
libgcrypt-devel \
postgresql-devel \
lcov \
libasan \
libubsan \
catch-devel \
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 ergo, for e2e tests
RUN wget "https://github.com/ergochat/ergo/releases/download/v${ERGO_VERSION}/ergo-${ERGO_VERSION}-linux-x86_64.tar.gz" && tar xvf ergo-${ERGO_VERSION}-linux-x86_64.tar.gz && cp -r ergo-${ERGO_VERSION}-linux-x86_64 /usr/local/lib/ergo && ln -s /usr/local/lib/ergo/ergo /usr/local/bin/ergo