mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Adding docker container capabilities to Travis
This commit is contained in:
34
test/utils/docker/ubuntu1404/Dockerfile
Normal file
34
test/utils/docker/ubuntu1404/Dockerfile
Normal file
@@ -0,0 +1,34 @@
|
||||
FROM ubuntu:trusty
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
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
|
||||
|
||||
VOLUME /sys/fs/cgroup /run /tmp
|
||||
ENV container=docker
|
||||
Reference in New Issue
Block a user