FROM centos:centos7 MAINTAINER Tom Tyler "ttyler@perforce.com" RUN yum update -y; \ yum install -y rsync; \ yum install -y sudo; \ yum install -y wget; \ echo /usr/local/lib>> /etc/ld.so.conf; \ echo /usr/lib64>> /etc/ld.so.conf; \ sed -ie "s/^Defaults[ \t]*requiretty/#Defaults requiretty/g" /etc/sudoers RUN yum install -y openssh-server openssh-clients passwd; \ yum clean all; \ ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''; \ ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N '' # Python 3.6 plus p4python RUN yum install -y https://repo.ius.io/ius-release-el7.rpm \ https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; \ yum update; \ yum install -y python36u python36u-libs python36u-devel python36u-pip; \ ln -f -s /usr/bin/python3.6 /usr/bin/python3; \ ln -f -s /usr/bin/pip3.6 /usr/bin/pip3; RUN pip3.6 install p4python==2017.2.1615960 testinfra ansible # Some tools needed for testing. RUN yum install -y which crontabs # Some tools needed for testing or useful for interactive test inspection. RUN yum install -y vim file
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#6 | 28116 | C. Thomas Tyler |
Cleaned up Dockerfile.*.base files, removing an obsolte change to cleanup /etc/sudoers files. |
||
#5 | 27386 | C. Thomas Tyler | Removed some packages not needed in base Docker images. | ||
#4 | 27384 | C. Thomas Tyler |
Removed unneeded (and failing) ssh-keygen commands from Docker setup. We may need SSH keys for more sophisticated tests later, but in that case we wouldn't want them baked into Docker image as we'd want to test our software that generates keys. |
||
#3 | 27303 | C. Thomas Tyler | General test suite usability and doc enhancements. | ||
#2 | 27287 | C. Thomas Tyler |
Removed excess content from Docker *.base files, mostly removing Python which isn't needed in the image (as the Helix Installer that we're testing has its own knowledge of platform-dependent lists of what needs to be installed where). Evolved test suite doc. |
||
#1 | 27284 | C. Thomas Tyler |
Added Docker test suite to displace Vagrant. Initial version passes with options: hits.sh -o centos7 |