FROM centos:centos6 MAINTAINER Robert Cowham "rcowham@perforce.com" ARG pythonver=3.5.2 ARG pipver=3.5 RUN yum update -y; \ # Tools required to compile and build Python \ yum install -y sudo; \ yum install -y wget; \ yum groupinstall -y "Development tools"; \ yum install -y zlib-devel bzip2-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel; \ yum install -y openssl openssl-devel; \ yum clean -y all; \ echo /usr/local/lib>> /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://centos6.iuscommunity.org/ius-release.rpm; \ yum update; \ yum install -y python36u python36u-libs python36u-devel python36u-pip; \ ln -s /usr/bin/python3.6 /usr/bin/python3; \ ln -s /usr/bin/pip3.6 /usr/bin/pip3; RUN pip3.6 install p4python testinfra ansible
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#10 | 25116 | robert_cowham | Docker compose tests starting to get there... | ||
#9 | 25113 | robert_cowham | Merge latest changes from dev | ||
#8 | 22509 | robert_cowham | Basics of getting ssh working amongst the containers | ||
#7 | 22508 | robert_cowham | Setup SSHD | ||
#6 | 22485 | robert_cowham |
Update python to 3.5 Refactor tests to simplify workspace (no mapping into root), and to allow easy setup |
||
#5 | 22478 | robert_cowham | Clean updocker files | ||
#4 | 22477 | robert_cowham | Bring latest dev changes into test | ||
#3 | 20829 | robert_cowham | Remove commented out bats stuff | ||
#2 | 20828 | robert_cowham | Use docker-compose | ||
#1 | 20726 | robert_cowham | Catch up from dev | ||
//guest/perforce_software/sdp/dev/test/docker/Dockerfile.centos6.base | |||||
#2 | 20723 | robert_cowham |
P4Python 16.1 now requires SSL - so include in the base packages. Note that the versions installed are probably not latest (still security holes) so fine for testing but not production! |
||
#1 | 19045 | robert_cowham |
Add docker file for Centos7 Refactor to move common stuff to a shell script. |
||
//guest/perforce_software/sdp/dev/test/docker/Dockerfile.centos.base | |||||
#2 | 19040 | robert_cowham |
Tweaks to Docker files. Ubuntu uses packages for Python 3.4. Centos doesn't yet. |
||
#1 | 19021 | robert_cowham | Centos tests working too |