Tianon Gravi 17fbc4c986 Add license support to REAMDE-template.md and update.sh 11 år sedan
..
.keep 48776166e3 adding some directories for andrew to dump the short and long desc in 11 år sedan
README-content.md e2416c1ee3 Reflow all the language stack `README-content.md` files to 80 columns and incorporate Fred's changes 11 år sedan
README-short.txt e2416c1ee3 Reflow all the language stack `README-content.md` files to 80 columns and incorporate Fred's changes 11 år sedan
README.md 17fbc4c986 Add license support to REAMDE-template.md and update.sh 11 år sedan
license.md 4a8309172e Adds license.md 11 år sedan
logo.png 01c1265395 logos for all the things 11 år sedan

README-content.md

What is Perl?

Perl is a high-level, general-purpose, interpreted, dynamic programming language. The Perl language borrows features from other programming languages, including C, shell scripting (sh), AWK, and sed.

wikipedia.org/wiki/Perl

How to use this image

Create a Dockerfile in your Perl app project

FROM perl:5.20
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
CMD [ "perl", "./your-daemon-or-script.pl" ]

Then, build and run the Docker image:

docker build -t my-perl-app
docker run -it --rm --name my-running-app my-perl-app

Run a single Perl script

For many simple, single file projects, you may find it inconvenient to write a complete Dockerfile. In such cases, you can run a Perl script by using the Perl Docker image directly:

docker run -it --rm --name my-running-script -v "$(pwd)":/usr/src/myapp -w /usr/src/myapp perl:5.20 perl your-daemon-or-script.pl