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