Dockerfile (696B)
1 FROM debian:stable 2 3 RUN apt-get update 4 RUN apt-get install -y openjdk-17-jre git curl postgresql python3-pip 5 6 # Installation 7 RUN git clone git://git.taler.net/libeufin 8 WORKDIR /libeufin 9 RUN ./bootstrap 10 RUN ./configure --prefix=/usr/local 11 RUN make install 12 WORKDIR / 13 COPY launch-bank.sh /launch-bank.sh 14 COPY libeufin-bank.conf /libeufin-bank.conf 15 RUN apt-get install -y sudo 16 RUN grep -v ^host.*all /etc/postgresql/15/main/pg_hba.conf > /tmp/pg_hba_buf.txt 17 RUN echo "host libeufincheck all 127.0.0.1/32 trust" >> /tmp/pg_hba_buf.txt 18 RUN echo "host libeufincheck all ::1/128 trust" >> /tmp/pg_hba_buf.txt 19 RUN cp /tmp/pg_hba_buf.txt /etc/postgresql/15/main/pg_hba.conf 20 21 ENTRYPOINT ["/launch-bank.sh"]