1
0

Compare commits

..

4 Commits

Author SHA1 Message Date
051f00940c feat: install vim
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-17 14:39:12 +02:00
98c9e7f9f9 fix(Dockerfile): fail build when apt-get fails 2022-09-17 14:39:12 +02:00
69e3267bf2 feat: add support for configuring SSH2 HostKeys 2022-09-17 14:39:12 +02:00
78b83de803 feat: generate SSH2 ED25519 HostKey during startup 2022-09-17 14:39:12 +02:00

View File

@ -1,16 +1,17 @@
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 /