Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
645 B

  1. FROM geerlingguy/docker-debian12-ansible:latest
  2. ENV LANG=C.UTF-8
  3. ENV LC_ALL=C.UTF-8
  4. RUN apt-get update && \
  5. apt-get install -y --no-install-recommends \
  6. python3-passlib \
  7. git \
  8. pwgen \
  9. openssh-client \
  10. curl && \
  11. rm -rf /var/lib/apt/lists/* && \
  12. rm -Rf /usr/share/doc && rm -Rf /usr/share/man && \
  13. apt-get clean
  14. # Install Just
  15. RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin
  16. # Preserve command history across container restarts
  17. RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \
  18. && echo "$SNIPPET" >> "/root/.bashrc"