FROM rockylinux:rockylinux MAINTAINER Robert Cowham "rcowham@perforce.com" RUN yum update -y; \ yum install -y rsync; \ yum install -y sudo; \ yum install -y wget 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 install p4python==2020.1.2056111 testinfra # Some tools needed for testing. RUN yum install -y which # Some tools needed for testing or useful for interactive test inspection. RUN yum install -y vim file
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 30356 | C. Thomas Tyler |
Added Rocky 9 and Ubuntu 22 to test suite. Dropped CentOS 6. Changed default OS for tests from CentOS 7 to Rocky 9. Adapted to using podman for the test suite. Reduced minimum disk space requirement for testing from 1G to 10M. To be revisited: * Disabled OOM killer defenese feature and systemd due to compatibility issues with the test environment. * Disabled systemd by moving systemctl aside Enhanced build_docker_image.sh; added '-clean' option and added support for more platforms. Updated OS-specific packages as needed for all platforms, e.g. adding 'file' and 'rsync' utils as needed in Docker definitions. Added minimum performance recommendations for test containers in config. Updated env.sh utilities. This change test on: [X] centos7 [X] rocky8 [X] rocky9 [X] ubuntu20 [X] ubuntu22 #review-30357 @robert_cowham TO DO: * This builds using the official SDP test suite run manually on Tom's laptop. Next step: Get it working on our shiny new Jenkins Rocky 9 server machine. |
||
#2 | 28844 | C. Thomas Tyler |
SDP Test Suite: Adjusted Docker image Python install to use perforce-p4python3 package from package.perforce.com. #review-28845 |
||
#1 | 28137 | C. Thomas Tyler |
Added Rocky Linux 8 test image. Added 'all' argument to build on all OSes except unsupported ones ( e.g. CentOS 6). Added 'ALL' argument to build on all OSes, including unsupported ones. |