diff options
author | Devan Carpenter <devan@taler.net> | 2023-08-25 23:59:52 -0400 |
---|---|---|
committer | Devan Carpenter <devan@taler.net> | 2023-09-04 14:24:22 -0400 |
commit | d705ee26636a641bb14fd7faa7fe264c4f32b3ff (patch) | |
tree | 530739aef940e6d1c91b01a50aa8973f4e7a3acb /ci/Containerfile | |
parent | 00c961386ed72dcc82b7bc9b96da44b6286b8db2 (diff) | |
download | exchange-d705ee26636a641bb14fd7faa7fe264c4f32b3ff.tar.xz |
ci: add pipeline with build and package jobs
Diffstat (limited to 'ci/Containerfile')
-rw-r--r-- | ci/Containerfile | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/ci/Containerfile b/ci/Containerfile new file mode 100644 index 000000000..7998c8653 --- /dev/null +++ b/ci/Containerfile @@ -0,0 +1,62 @@ +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 + +# 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 \ +&& rm -rf /var/lib/apt/lists/* + + +RUN pip3 install --break-system-packages htmlark + +RUN apt-get update -yqq && \ + apt-get install -yqq \ + doxygen + +WORKDIR /workdir + +CMD ["bash", "/workdir/ci/ci.sh"] |