2016-03-03 21:23:44 +01:00
|
|
|
FROM ubuntu:trusty
|
|
|
|
RUN apt-get clean; apt-get update -y;
|
|
|
|
RUN apt-get install -y \
|
|
|
|
debianutils \
|
|
|
|
git \
|
2016-03-04 04:29:21 +01:00
|
|
|
locales \
|
2016-03-03 21:23:44 +01:00
|
|
|
make \
|
|
|
|
mercurial \
|
|
|
|
ruby \
|
|
|
|
subversion \
|
|
|
|
sudo \
|
|
|
|
unzip
|
|
|
|
RUN apt-get install -y \
|
|
|
|
python-coverage \
|
|
|
|
python-httplib2 \
|
|
|
|
python-jinja2 \
|
|
|
|
python-keyczar \
|
|
|
|
python-mock \
|
|
|
|
python-nose \
|
|
|
|
python-paramiko \
|
|
|
|
python-pip \
|
|
|
|
python-setuptools \
|
|
|
|
python-virtualenv \
|
|
|
|
python-yaml
|
|
|
|
RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers
|
|
|
|
RUN mkdir /etc/ansible/
|
|
|
|
RUN echo -e '[local]\nlocalhost' > /etc/ansible/hosts
|
2016-03-04 04:29:21 +01:00
|
|
|
RUN locale-gen en_US.UTF-8
|
2016-03-03 21:23:44 +01:00
|
|
|
ENV container=docker
|
2016-03-03 23:45:47 +01:00
|
|
|
CMD ["/sbin/init"]
|