This commit is contained in:
2025-11-04 21:10:31 +01:00
commit 3ddbd81e68
39 changed files with 1698 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM debian:latest
RUN apt update && apt --yes install openssh-server python3 sudo iproute2 iputils-ping traceroute vim && mkdir -p /root/.ssh/ && mkdir -p /run/sshd && rm -f /etc/ssh/ssh_host*
RUN apt --yes install dnsmasq udhcpc less tcpdump
RUN apt --yes install telnet netcat-openbsd wget curl man net-tools
# RUN apt install --yes nginx python3-pip
# RUN pip3 install 'uvicorn[standard] fastapi'
# COPY authorized_keys /root/.ssh/authorized_keys
# COPY setup-linux.sh /usr/local/bin/sshd_with_setup.sh
# CMD ["/usr/sbin/sshd", "-D"]
CMD ["/usr/local/bin/setup.sh"]