FROM centos:centos6 MAINTAINER Robert Cowham "rcowham@perforce.com" 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 openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel; \ yum install -y openssl-devel; \ echo /usr/local/lib>> /etc/ld.so.conf; \ sed -ie "s/^Defaults[ \t]*requiretty/#Defaults requiretty/g" /etc/sudoers # Python 3.4 RUN cd /tmp; \ wget -q http://www.python.org/ftp/python/3.4.2/Python-3.4.2.tar.xz; \ tar xJf ./Python-3.4.2.tar.xz; \ cd ./Python-3.4.2; \ ./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"; \ make; \ make altinstall; \ cd /tmp; \ rm -rf ./Python-3.4.2.xz ./Python-3.4.2 # Build P4Python RUN pip3.4 install p4python
# | 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 |