From 6d45a4ac67fc497596f1d99350a207f29247b1c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 21 Jun 2025 03:44:42 +0300 Subject: [PATCH] Update --- files/ssh/Dockerfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/files/ssh/Dockerfile b/files/ssh/Dockerfile index 72a0cfa..a7a6af5 100644 --- a/files/ssh/Dockerfile +++ b/files/ssh/Dockerfile @@ -1,7 +1,10 @@ -FROM docker.io/library/debian +FROM docker.io/library/debian:latest RUN apt update && \ - apt install -y openssh-server rsync git + apt install -y openssh-server rsync git python3-pip python3-venv jq git curl lsb-release nano + +RUN apt-get clean && \ + rm -rf /var/lib/apt/lists/* RUN rm -rf /etc/ssh/ssh_host* && \ mkdir -p /run/sshd @@ -12,4 +15,8 @@ RUN chmod +x entrypoint.sh COPY sshd_config /etc/ssh/sshd_config +RUN python3 -m venv /opt/ansible && \ + /opt/ansible/bin/pip3 install ansible && \ + /opt/ansible/bin/pip3 install cryptography dnspython hvac jmespath netaddr pexpect + CMD ./entrypoint.sh