summaryrefslogtreecommitdiff
path: root/packaging/ubuntu-lunar/Dockerfile
blob: f6e39c0c82229ba787f4ba3268d2fb87f3455702 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
FROM ubuntu:lunar
# This file is in the public domain.
#
# Docker image to build Ubuntu packages of
# GNUnet, GNU Taler and GNU Anastasis.
#
# We need 'kinetic' for a reasonably recent NodeJS version.

ARG DEBIAN_FRONTEND=noninteractive

# Install dependencies
RUN apt-get update
RUN apt-get -y upgrade
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

# For libeufin:
RUN apt-get -y install openjdk-17-jdk default-jre-headless
# For wallet-core:
RUN npm install -g node pnpm

RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get -y dist-upgrade

ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache

COPY gnunet-build.sh /root/
RUN chmod +x /root/gnunet-build.sh
RUN /root/gnunet-build.sh master

COPY gnunet-gtk-build.sh /root/
RUN chmod +x /root/gnunet-gtk-build.sh
RUN /root/gnunet-gtk-build.sh master

COPY exchange-build.sh /root/
RUN chmod +x /root/exchange-build.sh
RUN /root/exchange-build.sh master

COPY merchant-build.sh /root/
RUN chmod +x /root/merchant-build.sh
RUN /root/merchant-build.sh master

COPY sync-build.sh /root/
RUN chmod +x /root/sync-build.sh
RUN /root/sync-build.sh master

COPY anastasis-build.sh /root/
RUN chmod +x /root/anastasis-build.sh
RUN /root/anastasis-build.sh master

COPY libeufin-build.sh /root/
RUN chmod +x /root/libeufin-build.sh
RUN /root/libeufin-build.sh master

COPY wallet-build.sh /root/
RUN chmod +x /root/wallet-build.sh
RUN /root/wallet-build.sh master