summaryrefslogtreecommitdiff
path: root/docker/hybrid/images/base/Dockerfile
blob: 59e2beea2cdcdee8edcaf4e8fbae9b5ec0a7afa5 (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
58
59
60
FROM debian:stable
RUN apt-get update

RUN apt-get install -y autoconf autopoint libtool texinfo \
  libgcrypt-dev libidn11-dev zlib1g-dev libunistring-dev \
  libjansson-dev python3-pip git recutils libsqlite3-dev \
  libpq-dev postgresql libcurl4-openssl-dev libsodium-dev git \
  libqrencode-dev zip jq nodejs npm openjdk-17-jre nginx procps \
  curl python3-jinja2 wget curl python3-sphinx \
  socat python3-sphinx-rtd-theme apache2-utils

RUN pip3 install requests click poetry uwsgi

RUN git clone git://git.gnunet.org/libmicrohttpd
RUN git clone git://git.gnunet.org/gnunet
RUN git clone git://git.taler.net/exchange /exchange
RUN git clone git://git.taler.net/merchant /merchant
RUN git clone git://git.taler.net/libeufin /libeufin
RUN git clone git://git.taler.net/taler-merchant-demos /taler-merchant-demos
RUN git clone git://git.taler.net/wallet-core /wallet-core

WORKDIR /libmicrohttpd
RUN ./bootstrap
RUN ./configure --disable-doc
RUN make install

WORKDIR /gnunet
RUN ./bootstrap
RUN ./configure --enable-logging=verbose --disable-documentation
RUN make install

WORKDIR /exchange
RUN ./bootstrap
RUN ./configure CFLAGS="-ggdb -O0" --enable-logging=verbose --disable-doc
RUN make install

WORKDIR /merchant
RUN ./bootstrap
RUN ./configure CFLAGS="-ggdb -O0" \
  --enable-logging=verbose \
  --disable-doc
RUN make install

WORKDIR /libeufin
RUN ./bootstrap
RUN ./configure
RUN make install

WORKDIR /taler-merchant-demos
RUN ./bootstrap
RUN ./configure
RUN make install

WORKDIR /wallet-core
RUN ./bootstrap
WORKDIR ./packages/demobank-ui
RUN ./configure
RUN make install

WORKDIR /