taler-deployment

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

Dockerfile (1254B)


      1 FROM debian:bookworm
      2 
      3 
      4 # This image provides base dependencies needed to compile and run
      5 # GNU Taler components
      6 
      7 RUN apt-get update
      8 
      9 # Explanations for weirder dependencies:
     10 # - texlive-* is required by the exchange test cases
     11 RUN apt-get install -y autoconf autopoint libtool texinfo \
     12   libgcrypt-dev libidn11-dev zlib1g-dev libunistring-dev \
     13   libjansson-dev python3-pip git recutils libsqlite3-dev \
     14   libpq-dev postgresql libcurl4-openssl-dev libsodium-dev git \
     15   libqrencode-dev zip jq npm openjdk-17-jre nginx procps \
     16   curl python3-jinja2 wget curl python3-sphinx socat apache2-utils \
     17   python3-sphinx-rtd-theme sqlite3 vim emacs faketime \
     18   texlive-latex-base texlive-latex-extra
     19 
     20 RUN useradd -m talercheck
     21 
     22 USER talercheck
     23 WORKDIR /home/talercheck
     24 
     25 # pnpm likes to have the tmp directory
     26 RUN mkdir -p tmp
     27 
     28 # Make pip3 happy by running as a non-root user
     29 # and setting PATH correctly
     30 ENV PATH="/home/talercheck/.local/bin:$PATH"
     31 
     32 RUN pip3 install --break-system-packages requests click poetry uwsgi htmlark
     33 
     34 RUN npm config set prefix $HOME/.npm-global
     35 RUN npm install -g pnpm
     36 
     37 COPY ./base/util.sh ./base/compile_and_check.sh /home/talercheck/
     38 COPY ./config/tags.sh /home/talercheck/tags.sh
     39 
     40 ENTRYPOINT /home/talercheck/compile_and_check.sh