The basic idea is to combine your application code from Git tree and Red Hat’s rhscl/perl-520-rhel7 base image into an application image that will run your application in mod_perl environment. Your application can either be a simple Common Gateway Interface (CGI) script or a full-fledged Perl Web Server Gateway Interface (PSGI) application.
Following this step-by-step procedure will show you how to deploy a simple pastebin-like web service implemented as a PSGI application.
The Base Image
Continue reading “Deploying PSGI Applications using RHSCL Docker Containers”