@ -15,6 +15,7 @@ RUN apt-get update -y && \
dpkg-dev \
dpkg-dev \
fakeroot \
fakeroot \
gawk \
gawk \
gcc \
git \
git \
libffi-dev \
libffi-dev \
libssl-dev \
libssl-dev \
@ -25,7 +26,7 @@ RUN apt-get update -y && \
mysql-server \
mysql-server \
openssh-client \
openssh-client \
openssh-server \
openssh-server \
python-coverage \
python-dev \
python-httplib2 \
python-httplib2 \
python-jinja2 \
python-jinja2 \
python-keyczar \
python-keyczar \
@ -51,6 +52,8 @@ RUN apt-get update -y && \
&& \
&& \
apt-get clean
apt-get clean
RUN pip install --upgrade pycrypto cryptography
# helpful things taken from the ubuntu-upstart Dockerfile:
# helpful things taken from the ubuntu-upstart Dockerfile:
# https://github.com/tianon/dockerfiles/blob/4d24a12b54b75b3e0904d8a285900d88d3326361/sbin-init/ubuntu/upstart/14.04/Dockerfile
# https://github.com/tianon/dockerfiles/blob/4d24a12b54b75b3e0904d8a285900d88d3326361/sbin-init/ubuntu/upstart/14.04/Dockerfile
ADD init-fake.conf /etc/init/fake-container-events.conf
ADD init-fake.conf /etc/init/fake-container-events.conf
@ -87,6 +90,7 @@ 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 junit-xml
RUN pip install pip --upgrade
RUN pip install coverage junit-xml
ENV container = docker
ENV container = docker
CMD [ "/sbin/init" ]
CMD [ "/sbin/init" ]