1
0

initial version

This commit is contained in:
2022-09-09 11:37:37 +02:00
commit 86a763e0d9
5 changed files with 84 additions and 0 deletions

21
Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM debian:bookworm-slim
RUN set -eux; \
apt-get update; \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y; \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
openssh-server \
curl \
telnet \
net-tools \
screen \
; \
rm -rf /var/lib/apt/lists/*
ADD start.sh /
EXPOSE 22/tcp
CMD /start.sh
HEALTHCHECK CMD netstat -tnlp | grep '0.0.0.0:22' || exit 1