From 83874d93e74491c15699233865880ffb9ca7c2a0 Mon Sep 17 00:00:00 2001 From: Shayan Pooya Date: Sun, 8 Feb 2015 14:58:33 -0800 Subject: [PATCH] docker: work around the new limitations of sshd in newer versions of Ubuntu This should fix issue #604 --- contrib/docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile index 585029b30..25ab07172 100644 --- a/contrib/docker/Dockerfile +++ b/contrib/docker/Dockerfile @@ -24,10 +24,12 @@ RUN chown disco -R /home/disco/.ssh ## install disco RUN git clone https://github.com/discoproject/disco.git /disco RUN cd /disco && make install +RUN cd /disco/lib && python setup.py install RUN chown -R disco /usr/var/disco ## configure the supervisor which will start ssh & docker ADD supervisor.conf /etc/supervisor/conf.d/disco.conf +RUN sed -i 's/without-password/yes/g' /etc/ssh/sshd_config EXPOSE 22 EXPOSE 8990