commit 0bcbfd9336f212181ca7ff8db5018254dd2ae604
parent fd3557eba00cfa2ccdd31cdf9649be7ea6491658
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 12 Jan 2023 12:36:45 +0100
Get Debian images to build
Diffstat:
3 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/packaging/debian-docker/Dockerfile b/packaging/debian-docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM debian:bullseye
+FROM debian:bookworm
# This file is in the public domain.
#
# Docker image to build Ubuntu packages of
@@ -15,8 +15,11 @@ RUN apt-get -y install libzbar-dev default-libmysqlclient-dev mandoc libpulse-de
RUN apt-get -y install python3-jinja2 doxygen libjose-dev iproute2 sudo
RUN apt-get -y install wget zile
RUN apt-get -y install libogg-dev gettext net-tools po-debconf debhelper-compat dbconfig-pgsql nginx
-RUN apt-get -y install libgtk-3-dev libgladeui-dev libmagic-dev
+RUN apt-get -y install libgtk-3-dev libgladeui-dev libmagic-dev policykit-1
RUN apt-get -y install dbconfig-no-thanks
+# For libeufin:
+RUN apt-get -y install openjdk-17-jdk python3-click python3-requests python3
+
RUN apt-get -y install apt-utils
RUN pip install sphinx_rtd_theme
@@ -30,6 +33,9 @@ RUN apt-get -y dist-upgrade
COPY gnunet-build.sh /root/
RUN chmod +x /root/gnunet-build.sh
RUN /root/gnunet-build.sh master
+COPY libeufin-build.sh /root/
+RUN chmod +x /root/libeufin-build.sh
+RUN /root/libeufin-build.sh master
COPY taler-build.sh /root/
RUN chmod +x /root/taler-build.sh
RUN /root/taler-build.sh master
diff --git a/packaging/debian-docker/libeufin-build.sh b/packaging/debian-docker/libeufin-build.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+# This file is in the public domain.
+# Helper script to build the latest DEB packages in the container.
+
+set -eu
+unset LD_LIBRARY_PATH
+
+mkdir -p /build/libeufin
+cd /build/libeufin
+
+# Fetch source
+rm -rf *
+git clone git://git.taler.net/libeufin
+cd libeufin
+git checkout $1
+./bootstrap
+./configure --prefix=/usr/local
+./gradlew dist
+dpkg-buildpackage -rfakeroot -b -uc -us
+cd ..
+dpkg -i *.deb
+
+tar uvf ../packages.tgz *.deb
+cd ..
diff --git a/packaging/debian-docker/taler-build.sh b/packaging/debian-docker/taler-build.sh
@@ -11,6 +11,8 @@ cd /build/taler
# Fetch source
rm -rf *
+pip3 install htmlark
+
for n in exchange merchant
do
git clone git://git.taler.net/$n