Posts

Showing posts from March, 2019

How to Build Your Own Openshift Builder Image (PHP 5.6 with oci, pdo_oci, rfc) - part II

In the previous post, I described the final process of building an Openshift builder docker image. This post is like a flashback - where I describe the processes before   the final docker image can be built. The processes are necessary to build two files; the pdo-oci rpm ( rh-php56-php-pdo_oci-5.6.25-1.el7.centos.x86_64.rpm ) and the oci8.so extension file. Checkout Let us checkout the pdo_oci8 branch first from (my) github : (skip if you already followed part I) aws@broker ~ $  git clone https://github.com/yudhiwidyatama/s2i-php-container.git aws@broker  ~ $  cd s2i-php-container/ aws@broker  s2i-php-container $  git checkout pdo_oci8 Branch pdo_oci8 set up to track remote branch pdo_oci8 from origin. Switched to a new branch 'pdo_oci8' Go to the 5.6 php version directory : aws@broker s2i-php-container $ ls 5.5   5.6   7.0   7.1   common   LICENSE   Makefile   README.md aws@broker s2i-php-container $ cd 5.6 aws@broker 5.6 $ ls -l tota