ansible/test/utils/docker/ubuntu1404/Dockerfile
2016-03-03 21:03:28 -05:00

28 lines
621 B
Docker

FROM ubuntu:trusty
RUN apt-get clean; apt-get update -y;
RUN apt-get install -y \
debianutils \
git \
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
ENV container=docker
CMD ["/sbin/init"]