aboutsummaryrefslogtreecommitdiff
path: root/contrib/ci/Containerfile
blob: c90204e2030541a3670b30eefe81e43dfd25c9d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
FROM docker.io/library/debian:bookworm

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update -yqq && \
    apt-get install -yqq \
		   autoconf \
		   autopoint \
		   curl \
                   git \
		   libcurl4-gnutls-dev \
		   libgcrypt-dev \
		   libidn11-dev \
		   libjansson-dev \
                   libmicrohttpd-dev \
		   libpq-dev \
		   libqrencode-dev \
                   libsodium-dev \
                   libtool \
		   libunistring-dev \
		   make \
		   pkg-config \
		   python3-pip \
		   python3-sphinx \
		   python3-sphinx-rtd-theme \
                   recutils \
                   texinfo \
		   zlib1g-dev

# Debian packaging tools
RUN apt-get install -yqq \
                   po-debconf \
                   build-essential \
                   debhelper-compat \
                   devscripts \
		   git-buildpackage

# Documentation dependencies
RUN apt-get install -yqq \
                   codespell \
                   doxygen \
                   graphviz

# Test suite dependencies
RUN apt-get install -yqq \
                   jq \
                   postgresql \
                   sudo \
                   wget

# Install Taler (and friends) packages
RUN curl -sS https://deb.taler.net/apt-nightly/taler-bookworm-ci.sources \
    | tee /etc/apt/sources.list.d/taler-bookworm-ci.sources

RUN echo '\
Package: * \n\
Pin: origin "deb.taler.net" \n\
Pin-Priority: 999' > /etc/apt/preferences.d/taler

RUN cat /etc/apt/preferences.d/taler && \
    apt-get update -y && \
    apt-get install -y \
                   libgnunet-dev \
                   libgnunet \
                   gnunet \
&& rm -rf /var/lib/apt/lists/*


RUN pip3 install --break-system-packages htmlark

WORKDIR /workdir

CMD ["bash", "/workdir/ci/ci.sh"]