2016-05-20 16:37:06 +02:00
|
|
|
FROM ubuntu:16.04
|
|
|
|
|
2016-06-14 04:08:58 +02:00
|
|
|
RUN apt-get update -y && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
|
|
acl \
|
2016-05-20 16:37:06 +02:00
|
|
|
apache2 \
|
|
|
|
asciidoc \
|
|
|
|
bzip2 \
|
|
|
|
cdbs \
|
2016-05-24 17:22:34 +02:00
|
|
|
curl \
|
2016-05-20 16:37:06 +02:00
|
|
|
debhelper \
|
|
|
|
debianutils \
|
|
|
|
devscripts \
|
|
|
|
docbook-xml \
|
|
|
|
dpkg-dev \
|
|
|
|
fakeroot \
|
|
|
|
gawk \
|
2017-06-23 21:45:38 +02:00
|
|
|
gcc \
|
2016-05-20 16:37:06 +02:00
|
|
|
git \
|
|
|
|
iproute2 \
|
2017-06-12 12:14:46 +02:00
|
|
|
libffi-dev \
|
|
|
|
libssl-dev \
|
2016-05-20 16:37:06 +02:00
|
|
|
libxml2-utils \
|
|
|
|
locales \
|
|
|
|
lsb-release \
|
|
|
|
make \
|
|
|
|
mercurial \
|
|
|
|
mysql-server \
|
|
|
|
openssh-client \
|
|
|
|
openssh-server \
|
2017-06-23 21:45:38 +02:00
|
|
|
python-cryptography \
|
|
|
|
python-dev \
|
2017-08-15 00:19:40 +02:00
|
|
|
pass \
|
2016-06-14 04:08:58 +02:00
|
|
|
python-dbus \
|
2016-05-20 16:37:06 +02:00
|
|
|
python-httplib2 \
|
|
|
|
python-jinja2 \
|
|
|
|
python-keyczar \
|
2017-06-07 13:48:16 +02:00
|
|
|
python-lxml \
|
2016-05-20 16:37:06 +02:00
|
|
|
python-mock \
|
|
|
|
python-mysqldb \
|
|
|
|
python-nose \
|
|
|
|
python-paramiko \
|
2016-06-22 22:30:10 +02:00
|
|
|
python-passlib \
|
2016-05-20 16:37:06 +02:00
|
|
|
python-pip \
|
|
|
|
python-setuptools \
|
|
|
|
python-virtualenv \
|
2016-06-14 00:06:51 +02:00
|
|
|
python-wheel \
|
2016-06-14 04:08:58 +02:00
|
|
|
python-yaml \
|
|
|
|
reprepro \
|
|
|
|
rsync \
|
|
|
|
ruby \
|
2017-06-25 14:25:31 +02:00
|
|
|
sshpass \
|
2016-06-14 04:08:58 +02:00
|
|
|
subversion \
|
|
|
|
sudo \
|
2017-06-07 16:54:01 +02:00
|
|
|
tzdata \
|
2016-06-14 04:08:58 +02:00
|
|
|
unzip \
|
2016-05-20 16:37:06 +02:00
|
|
|
virtualenv \
|
2016-06-14 04:08:58 +02:00
|
|
|
xsltproc \
|
|
|
|
zip \
|
|
|
|
&& \
|
|
|
|
apt-get clean
|
2016-05-20 16:37:06 +02:00
|
|
|
|
|
|
|
RUN rm /etc/apt/apt.conf.d/docker-clean
|
2016-06-14 04:08:58 +02:00
|
|
|
RUN mkdir /etc/ansible/
|
|
|
|
RUN /bin/echo -e "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|
2016-05-20 16:37:06 +02:00
|
|
|
RUN locale-gen en_US.UTF-8
|
|
|
|
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
|
2017-06-23 21:45:38 +02:00
|
|
|
RUN pip install coverage junit-xml
|
2016-06-14 04:08:58 +02:00
|
|
|
ENV container=docker
|
2016-05-20 16:37:06 +02:00
|
|
|
CMD ["/sbin/init"]
|