FROM centos:centos7
MAINTAINER Robert Cowham "rcowham@perforce.com"
ARG pythonver=3.5.2
RUN yum update -y; \
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; \
echo /usr/lib64>> /etc/ld.so.conf; \
sed -ie "s/^Defaults[ \t]*requiretty/#Defaults requiretty/g" /etc/sudoers
# Python 3.6 plus p4python
RUN yum install -y centos-release-scl; \
yum install -y rh-python36
ADD install-p4python.sh /tmp
RUN /bin/bash -x /tmp/install-p4python.sh | # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #4 | 25113 | Robert Cowham | Merge latest changes from dev | ||
| #3 | 22510 | Robert Cowham | Basic docker file upgrades for Centos7 | ||
| #2 | 22477 | Robert Cowham | Bring latest dev changes into test | ||
| #1 | 20726 | Robert Cowham | Catch up from dev | ||
| //guest/perforce_software/sdp/dev/test/docker/Dockerfile.centos7.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. |
||