taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

Dockerfile (1209B)


      1 FROM debian:unstable
      2 
      3 RUN apt-get update && apt-get install -qqy \
      4       git \
      5       build-essential \
      6       autoconf \
      7       autopoint \
      8       libtool \
      9       libgcrypt20 \
     10       libgcrypt20-dev \
     11       libidn11-dev \
     12       zlib1g-dev \
     13       libunistring-dev \
     14       libjansson-dev \
     15       libpq-dev \
     16       libmicrohttpd-dev \
     17       libcurl4-gnutls-dev \
     18       python3 \
     19       python3-pip \
     20       postgresql
     21 
     22 # Needed to run the config generator
     23 RUN pip3 install click
     24 
     25 ENV HOME /root
     26 
     27 RUN git clone https://gnunet.org/git/gnunet/ ~/gnunet \
     28     && git clone https://gnunet.org/git/libmicrohttpd/ ~/libmicrohttpd \
     29     && git clone git://taler.net/deployment ~/deployment
     30 
     31 WORKDIR $HOME/gnunet
     32 
     33 RUN ./bootstrap \
     34     && ./configure --with-libgnurl=/usr/local/ \
     35     && make \
     36     && make install
     37 
     38 WORKDIR $HOME/libmicrohttpd
     39 
     40 RUN ./bootstrap \
     41     && ./configure --disable-doc \
     42     && make \
     43     && make install
     44 
     45 # To run the config generator, need:
     46 WORKDIR $HOME/deployment
     47 
     48 ENV LD_LIBRARY_PATH "/usr/local/lib"
     49 
     50 RUN export TALER_CONFIG_ENV="test" \
     51     && export TALER_CONFIG_CURRENCY="EUR" \
     52     && export LC_ALL="C.UTF-8" \
     53     && export LANG="C.UTF-8" \
     54     && ./bin/taler-deployment-config-generate