Fix building from ubuntu1404 Dockerfile

This commit is contained in:
Martin Krizek 2018-03-28 21:43:15 +02:00 committed by Matt Clay
parent e5d44934e7
commit cb5e594c13

View file

@ -54,6 +54,7 @@ RUN apt-get update -y && \
&& \
apt-get clean
RUN pip install pip --upgrade
RUN pip install --upgrade pycrypto cryptography
# helpful things taken from the ubuntu-upstart Dockerfile:
@ -92,7 +93,6 @@ RUN ssh-keygen -q -t rsa -N '' -f /root/.ssh/id_rsa && \
cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys && \
for key in /etc/ssh/ssh_host_*_key.pub; do echo "localhost $(cat ${key})" >> /root/.ssh/known_hosts; done
VOLUME /sys/fs/cgroup /run/lock /run /tmp
RUN pip install pip --upgrade
RUN pip install coverage junit-xml
ENV container=docker
CMD ["/sbin/init"]