Dockerfile (2182B)
1 FROM ubuntu:lunar 2 # This file is in the public domain. 3 # 4 # Docker image to build Ubuntu packages of 5 # GNUnet, GNU Taler and GNU Anastasis. 6 # 7 # We need 'kinetic' for a reasonably recent NodeJS version. 8 9 ARG DEBIAN_FRONTEND=noninteractive 10 11 # Install dependencies 12 RUN apt-get update 13 RUN apt-get -y upgrade 14 RUN apt-get -y install build-essential zip jq python3 python3-pip nodejs npm autoconf automake gcc make libtool libltdl-dev libmicrohttpd-dev libpq-dev libsqlite3-dev libunistring-dev libqrencode-dev libgcrypt-dev libsodium-dev libargon2-dev libjansson-dev recutils libgmp-dev texinfo pkgconf zlib1g-dev libopus-dev libextractor-dev libnss3-dev libcurl4-gnutls-dev autopoint libzbar-dev libmysqlclient-dev mandoc libpulse-dev libgstreamer1.0-dev libgstreamer-plugins-good1.0-dev libbluetooth-dev iptables miniupnpc libpng-dev python3-jinja2 doxygen libjose-dev iproute2 sudo wget zile libogg-dev gettext net-tools po-debconf debhelper-compat dbconfig-pgsql nginx libgtk-3-dev libgladeui-dev libmagic-dev policykit-1 libnfc-dev python3-click python3-requests python3-sphinx-rtd-theme pandoc groff 15 16 # For libeufin: 17 RUN apt-get -y install openjdk-17-jdk default-jre-headless 18 # For wallet-core: 19 RUN npm install -g node pnpm 20 21 RUN apt-get update 22 RUN apt-get -y upgrade 23 RUN apt-get -y dist-upgrade 24 25 ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache 26 27 COPY gnunet-build.sh /root/ 28 RUN chmod +x /root/gnunet-build.sh 29 RUN /root/gnunet-build.sh master 30 31 COPY gnunet-gtk-build.sh /root/ 32 RUN chmod +x /root/gnunet-gtk-build.sh 33 RUN /root/gnunet-gtk-build.sh master 34 35 COPY exchange-build.sh /root/ 36 RUN chmod +x /root/exchange-build.sh 37 RUN /root/exchange-build.sh master 38 39 COPY merchant-build.sh /root/ 40 RUN chmod +x /root/merchant-build.sh 41 RUN /root/merchant-build.sh master 42 43 COPY sync-build.sh /root/ 44 RUN chmod +x /root/sync-build.sh 45 RUN /root/sync-build.sh master 46 47 COPY anastasis-build.sh /root/ 48 RUN chmod +x /root/anastasis-build.sh 49 RUN /root/anastasis-build.sh master 50 51 COPY libeufin-build.sh /root/ 52 RUN chmod +x /root/libeufin-build.sh 53 RUN /root/libeufin-build.sh master 54 55 #COPY wallet-build.sh /root/ 56 #RUN chmod +x /root/wallet-build.sh 57 #RUN /root/wallet-build.sh master