fixup! feat: add OpenSSH server to ubuntu base

This commit is contained in:
Charlie Moog 2021-02-18 19:31:14 +00:00
parent e9d016b893
commit 714c07d9da
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ RUN systemctl enable docker ssh
# adjust OpenSSH config
RUN echo "PermitUserEnvironment yes" >> /etc/ssh/sshd_config && \
echo "X11Forwarding yes" >> /etc/ssh/sshd_config && \
echo "X11UseLocalhost no" >> /etc/ssh/sshd_config
echo "X11UseLocalhost no" >> /etc/ssh/sshd_config && \
rm /etc/environment
# use systemd as the init
RUN ln -s /lib/systemd/systemd /sbin/init