aboutsummaryrefslogtreecommitdiff
path: root/contrib/ci/Containerfile
blob: a1235706cc0e2c89dd8ea6c769ba0db77e0bed75 (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
74
75
76
FROM docker.io/library/debian:bookworm

ENV DEBIAN_FRONTEND=noninteractive

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

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

RUN pip3 install --break-system-packages requests click poetry uwsgi htmlark

# Install docs generation utils
RUN apt-get update -yqq && \
    apt-get install -yqq \
                   graphviz \
		   doxygen \
   && rm -rf /var/lib/apt/lists/*

# 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 \
		   libtalerexchange-dev \
		   libtalerexchange \
		   taler-exchange \
		   taler-exchange-database \
		   taler-exchange-offline \
		   taler-auditor \
		   taler-wallet-cli \
		   taler-harness \
&& rm -rf /var/lib/apt/lists/*

RUN apt-get update -yqq && \
    apt-get install -yqq \
                   jq

WORKDIR /workdir

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