Fix building from ubuntu1404 Dockerfile

pull/38079/head
Martin Krizek 7 years ago committed by Matt Clay
parent e5d44934e7
commit cb5e594c13

@ -54,6 +54,7 @@ RUN apt-get update -y && \
&& \ && \
apt-get clean apt-get clean
RUN pip install pip --upgrade
RUN pip install --upgrade pycrypto cryptography RUN pip install --upgrade pycrypto cryptography
# helpful things taken from the ubuntu-upstart Dockerfile: # 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 && \ 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 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 VOLUME /sys/fs/cgroup /run/lock /run /tmp
RUN pip install pip --upgrade
RUN pip install coverage junit-xml RUN pip install coverage junit-xml
ENV container=docker ENV container=docker
CMD ["/sbin/init"] CMD ["/sbin/init"]

Loading…
Cancel
Save