From d705ee26636a641bb14fd7faa7fe264c4f32b3ff Mon Sep 17 00:00:00 2001 From: Devan Carpenter Date: Fri, 25 Aug 2023 23:59:52 -0400 Subject: ci: add pipeline with build and package jobs --- ci/Containerfile | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 ci/Containerfile (limited to 'ci/Containerfile') 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"] -- cgit v1.2.3