Dockerfile aktualisiert
This commit is contained in:
parent
567444482b
commit
1320a03bae
@ -2,11 +2,11 @@ FROM alpine
|
|||||||
|
|
||||||
RUN apk add --update openssh
|
RUN apk add --update openssh
|
||||||
|
|
||||||
COPY sshd_config /etc/ssh/sshd_bastion_config
|
COPY sshd_config /etc/ssh/sshd_jumpuser_config
|
||||||
RUN echo "Include /etc/ssh/sshd_bastion_config" >> /etc/ssh/sshd_config
|
RUN echo "Include /etc/ssh/sshd_jumpuser_config" >> /etc/ssh/sshd_config
|
||||||
|
|
||||||
RUN adduser -D -s /bin/sh -H bastion
|
RUN adduser -D -s /bin/sh -H jumpuser
|
||||||
RUN passwd -u -d bastion
|
RUN passwd -u -d jumpuser
|
||||||
|
|
||||||
EXPOSE 2222
|
EXPOSE 2222
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user