1
0

Compare commits

..

2 Commits

Author SHA1 Message Date
ff64028597 feat: add support for configuring SSH2 HostKeys
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-17 14:21:53 +02:00
726243a733 feat: generate SSH2 ED25519 HostKey during startup 2022-09-17 14:21:12 +02:00

View File

@ -1,17 +1,16 @@
FROM debian:bookworm-slim FROM debian:bookworm-slim
RUN set -eux; \ RUN set -eux; \
apt-get update && \ apt-get update; \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \ DEBIAN_FRONTEND=noninteractive apt-get upgrade -y; \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
openssh-server \ openssh-server \
curl \ curl \
telnet \ telnet \
net-tools \ net-tools \
screen \ screen \
vim \ ; \
&& \ rm -rf /var/lib/apt/lists/* \
rm -rf /var/lib/apt/lists/* && \
rm /etc/ssh/ssh_host_*key* rm /etc/ssh/ssh_host_*key*
ADD start.sh / ADD start.sh /