Perl 5.24 Docker image

This container image includes Perl 5.24 as a S2I base image for your Perl 5.24 applications. Users can choose between RHEL and CentOS based builder images. The RHEL image is available in the Red Hat Container Catalog as registry.access.redhat.com/rhscl/perl-524-rhel7. The CentOS image is then available on Docker Hub as centos/perl-524-centos7. The resulting image can be run using Docker.

Description

Perl 5.24 available as docker container is a base platform for building and running various Perl 5.24 applications and frameworks. Perl is a high-level programming language with roots in C, sed, awk and shell scripting. Perl is good at handling processes and files, and is especially good at handling text. Perl’s hallmarks are practicality and efficiency. While it is used to do a lot of different things, Perl’s most common applications are system administration utilities and web programming.

Usage

To build a simple perl-sample-app application, using standalone S2I and then run the resulting image with Docker execute:

Accessing the application:

$ curl 127.0.0.1:8080

Environment variables

To set environment variables, you can place them as a key value pair into a .s2i/environment file inside your source code repository.

See also

Dockerfile and other sources are available on https://github.com/sclorg/s2i-perl-container. In that repository you also can find another versions of Perl environment Dockerfiles. Dockerfile for CentOS is called Dockerfile, Dockerfile for RHEL is called Dockerfile.rhel7.