perl
Perl Overview
Secure your stack with a hardened Perl image freshly-built by Minimus. Minimus images always include the most up-to-date package version for all packages and dependencies contained in the image.
Try It Out
Before we can take the Minimus Perl image for a test run, we'll want a Perl script to execute. We have a simple Hello World sample available to test with. Download the sample or use your own.
docker run --rm -v "$PWD":/usr/src/app reg.mini.dev/perl perl hello.plIf you want to take it a step further and build an image that contains your Perl source code and any other requirements, try building from a Dockerfile.
First, save the code below as a Dockerfile in your project directory:
FROM reg.mini.dev/perl
COPY hello.pl /usr/src/app/
CMD ["perl", "hello.pl"]Next, build and run the custom image. Note that the period . specifies the current directory as the build context:
docker build -t minimus-perl .
docker run minimus-perlYou should see a Minimus greeting.
Technical Considerations
The Perl image provided by Minimus is a slim, security-hardened alternative to the public image from Docker Hub. The images are largely interchangeable, with a few differences as noted below.
Perl built by Minimus:
- Runs as root to support required functions.
- Has an additional environment variable: "SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt". Drill down on the version specification tab for details.
The Payoff
A hardened, minimal image that will remain more secure for the long run and accrue vulnerabilities at a slower rate.
- See the risk reduction dashboard for a detailed CVE comparison over the past 30 days.
- Review the compliance report to see the default hardening and security configurations for the image.
Terms & Info
Trademark
This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.
Disclaimer
Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.