I reviewed the SR and wasn't able to get to the details that our SME has asked above. PCF is used as a short form for 2 of our frameworks and Pivotal Cloud Foundary. It would be a great help if you could add in more specifics on this post.
The Tomcat-ready image source code is available on Github, and the base image is published to Docker Hub. The base image functionality is built on Apache Tomcat 7 with OpenJDK JRE 7. You can extend the base image to include your proprietary copy of the Pega Platform web software and customizations. Building the executable image must be done on a Linux system.
So, we believe Pega supports customization based on certain conditions.
Tagging hayep who might add more to this discussion!