Block a user
docker-ansible (latest)
Published 2025-12-21 21:38:45 -05:00 by awptechnologies
Installation
docker pull gitea.awptechnologies.co/awptechnologies/docker-ansible:latestsha256:bdf036737411e44bf99443d83b03ebc2696e7d3500b12cafcf6a8ac754d52614
Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1765152000' |
| RUN /bin/sh -c apt update # buildkit |
| RUN /bin/sh -c apt upgrade -y # buildkit |
| RUN /bin/sh -c apt install ssh -y # buildkit |
| RUN /bin/sh -c apt install ansible -y # buildkit |
| RUN /bin/sh -c apt install sshpass -y # buildkit |
| RUN /bin/sh -c apt install zsh -y # buildkit |
| RUN /bin/sh -c apt install zsh-syntax-highlighting -y # buildkit |
| RUN /bin/sh -c apt install zsh-autosuggestions -y # buildkit |
| RUN /bin/sh -c apt install nano -y # buildkit |
| RUN /bin/sh -c apt install tmux -y # buildkit |
| RUN /bin/sh -c apt install iputils-ping -y # buildkit |
| RUN /bin/sh -c apt install sudo -y # buildkit |
| RUN /bin/sh -c apt install locales-all -y # buildkit |
| RUN /bin/sh -c apt install kitty -y # buildkit |
| RUN /bin/sh -c useradd -m -s /bin/zsh -d /home/alanparker alanparker # buildkit |
| RUN /bin/sh -c echo 'alanparker:Titantruckv8(!)' | chpasswd # buildkit |
| RUN /bin/sh -c mkdir /home/alanparker/.ssh/ # buildkit |
| COPY id_rsa.pub /home/alanparker/.ssh/ # buildkit |
| COPY id_rsa1.pub /home/alanparker/.ssh/ # buildkit |
| COPY id_rsa /home/alanparker/.ssh/ # buildkit |
| COPY .zshrc /home/alanparker/ # buildkit |
| COPY .zlogout /home/alanparker/ # buildkit |
| COPY sshd_config /etc/ssh/sshd_config # buildkit |
| COPY .tmux.conf /home/alanparker/ # buildkit |
| COPY tmux.sh /home/alanparker/ # buildkit |
| RUN /bin/sh -c cp /home/alanparker/.ssh/id_rsa.pub /home/alanparker/.ssh/authorized_keys # buildkit |
| RUN /bin/sh -c cat /home/alanparker/.ssh/id_rsa1.pub >> /home/alanparker/.ssh/authorized_keys # buildkit |
| RUN /bin/sh -c chown -R alanparker:alanparker /home/alanparker # buildkit |
| RUN /bin/sh -c chmod 600 /home/alanparker/.ssh/authorized_keys # buildkit |
| RUN /bin/sh -c chmod 600 /home/alanparker/.ssh/id_rsa # buildkit |
| RUN /bin/sh -c usermod -aG sudo alanparker # buildkit |
| RUN /bin/sh -c chsh -s $(which zsh) alanparker # buildkit |
| RUN /bin/sh -c echo "ansiblenode" > /etc/hostname # buildkit |
| ENTRYPOINT ["/bin/sh" "-c" "service ssh start && bash"] |
| EXPOSE [22/tcp] |