#!/usr/bin/env bash # This installs P4Python on CentOS assuming SCL installed. # RUN yum install -y centos-release-scl; \ # yum install -y rh-python36 echo "#!/bin/bash" >> /etc/profile.d/enablepython36.sh echo "source scl_source enable rh-python36" >> /etc/profile.d/enablepython36.sh /opt/rh/rh-python36/root/usr/bin/pip install --upgrade pip /opt/rh/rh-python36/root/usr/bin/pip install p4python
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 25149 | Robert Cowham |
Changes to docker files as part of prep for multi-container work Centos6 & 7 now install python 3.6 from ISU Community as pre-built Refer to p4python==17.2 to avoid need to compile Changes to test infrastructure only |
||
#2 | 24580 | Robert Cowham | Update Docker - fix issues with install of p4python on CentOS. | ||
#1 | 22385 | Robert Cowham | Fix install of p4python |