From 1320a03bae1dce76335c8323da6cf6ae198428b9 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Wed, 11 Oct 2023 11:35:36 +0200 Subject: [PATCH] Dockerfile aktualisiert --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 77d46e9..994690f 100755 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,11 @@ FROM alpine RUN apk add --update openssh -COPY sshd_config /etc/ssh/sshd_bastion_config -RUN echo "Include /etc/ssh/sshd_bastion_config" >> /etc/ssh/sshd_config +COPY sshd_config /etc/ssh/sshd_jumpuser_config +RUN echo "Include /etc/ssh/sshd_jumpuser_config" >> /etc/ssh/sshd_config -RUN adduser -D -s /bin/sh -H bastion -RUN passwd -u -d bastion +RUN adduser -D -s /bin/sh -H jumpuser +RUN passwd -u -d jumpuser EXPOSE 2222