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

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update -yqq && \
    apt-get install -yqq \
        autoconf \
        autopoint \
        curl \
        bash \
        coreutils \
        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 \
        # For mustach testing (optional) \
        libjson-c-dev \
        # Debian packaging tools \
        po-debconf \
        build-essential \
        debhelper-compat \
        devscripts \
        git-buildpackage \
        # Documentation dependencies \
        doxygen \
        graphviz \
        pandoc \
        # Test suite dependencies \
        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/*

WORKDIR /workdir

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