ansible-taler-exchange

Ansible playbook to deploy a production Taler Exchange
Log | Files | Refs | Submodules | README | LICENSE

Containerfile (1100B)


      1 FROM docker.io/library/debian:bookworm
      2 
      3 ENV DEBIAN_FRONTEND=noninteractive
      4 
      5 RUN apt-get update -yqq && \
      6     apt-get install -yqq \
      7                    ansible \
      8 		   cron \
      9                    git \
     10                    locales \
     11                    openssh-server \
     12                    python3 \
     13                    python3-debian \
     14                    systemd \
     15                    whois # mkpasswd provided by whois package
     16 
     17 RUN mkdir -p /etc/ansible/facts.d
     18 
     19 #####################################################################
     20 ## WARNING: THIS ALLOWS FOR COMPLETELY UNAUTHENTICATED SSH SESSIONS #
     21 ####### FOR TESTING ENVIRONMENT ONLY! ###############################
     22 RUN echo "root:$(mkpasswd -s </dev/null)" | chpasswd -e
     23 RUN sed -i'' -e's/^#PermitRootLogin prohibit-password$/PermitRootLogin yes/' /etc/ssh/sshd_config \
     24         && sed -i'' -e's/^#PasswordAuthentication yes$/PasswordAuthentication yes/' /etc/ssh/sshd_config \
     25         && sed -i'' -e's/^#PermitEmptyPasswords no$/PermitEmptyPasswords yes/' /etc/ssh/sshd_config \
     26         && sed -i'' -e's/^UsePAM yes/UsePAM no/' /etc/ssh/sshd_config