diff options
author | Nullptrderef <nullptrderef@proton.me> | 2024-06-16 11:52:30 +0200 |
---|---|---|
committer | Nullptrderef <nullptrderef@proton.me> | 2024-06-16 11:52:30 +0200 |
commit | 4226a76fcf232ee3cb0d2172207550ad81b5be0d (patch) | |
tree | cb40646df8ec1ee024500e463937f51cc7fa93a5 /contrib | |
parent | 858c314332ab61b81702d5144ecd56252da8b5cc (diff) |
use good containerfile, fix apt indentation
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ci/Containerfile | 90 | ||||
-rw-r--r-- | contrib/ci/riscv64.Containerfile | 95 |
2 files changed, 104 insertions, 81 deletions
diff --git a/contrib/ci/Containerfile b/contrib/ci/Containerfile index ac31c7ade..a7fe8a3ac 100644 --- a/contrib/ci/Containerfile +++ b/contrib/ci/Containerfile @@ -4,47 +4,47 @@ 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 + 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 \ @@ -58,10 +58,10 @@ 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/* + libgnunet-dev \ + libgnunet \ + gnunet \ +&& rm -rf /var/lib/apt/lists/* WORKDIR /workdir diff --git a/contrib/ci/riscv64.Containerfile b/contrib/ci/riscv64.Containerfile index 02a1b8bb8..48b93a835 100644 --- a/contrib/ci/riscv64.Containerfile +++ b/contrib/ci/riscv64.Containerfile @@ -4,43 +4,66 @@ FROM docker.io/library/debian:unstable ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update -yqq && \ - apt-get upgrade -yqq && \ - apt-get install -yqq \ - git \ - autoconf \ - libextractor-dev \ - libjansson-dev \ - libgcrypt-dev \ - libqrencode-dev \ - libpq-dev \ - libmicrohttpd-dev \ - pkg-config \ - libtool \ - recutils \ - make \ - python3-sphinx \ - python3-sphinx-book-theme \ - python3-sphinx-multiversion \ - python3-sphinx-rtd-theme \ - texinfo \ - autopoint \ - curl \ - libcurl4-openssl-dev \ - libsodium-dev \ - libidn11-dev \ - zlib1g-dev \ - libunistring-dev \ - iptables + 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 -# Debian packaging tools -RUN apt-get install -yqq \ - po-debconf \ - build-essential \ - debhelper-compat \ - devscripts \ - git-buildpackage \ - && 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 \ + gnunet \ +&& rm -rf /var/lib/apt/lists/* WORKDIR /workdir -CMD ["/bin/bash"] +CMD ["bash", "/workdir/ci/ci.sh"] |