Dockerfile aktualisiert

This commit is contained in:
Marko Oldenburg 2023-10-11 11:35:36 +02:00
parent 567444482b
commit 1320a03bae

View File

@ -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