Correct configuration for a Perl image based on Debian slim with IO::Socket::SSL ready to run.
2.4K
An image which includes and runs this library, along with Net::SSLeay, correctly.
Use in pretty much the same way as an executable:
docker run -it --rm jjmerelo/perl-io-socket-ssl -e "print @INC"
Although it's probably more useful as a base for other images that
need an usable version
of
IO::Socket::SSL and
Net::SSLeay
After switching from an Ubuntu base to a Debian Slim base to reduce the footprint of my image, everything stopped working. It took me a good while to come up with this solution, which includes
-I switches
to include all those directories.IO::Socket::SSL needs Net::SSLeay during runtime, it's not
actually installed or declared as a dependency. So this image
includes that too.Content type
Image
Digest
Size
78.2 MB
Last updated
almost 8 years ago
docker pull jjmerelo/perl-io-socket-ssl