Sign inSign up

tsuru/perl

By tsuru

•Updated 4 months ago

tsuru perl platform

Image
0

6.6K

tsuru/perl repository overview

⁠Perl platform

The Perl platform supports Perl 5.18.2 (on Ubuntu 14.04 LTS) or Perl 5.22.1 (on Ubuntu 16.04 LTS).

⁠Code deployment

If you just run a git push or tsuru app-deploy of your code, tsuru will try to download all of your depencies using cpanfile or cpanfile.snapshot.

⁠Code deployment with dependencies

There are two ways to list the applications dependencies: cpanfile or cpanfile.snapshot. The priority order is: cpanfile.snapshot -> cpanfile. The file should be in the root of deploy files.

⁠Using carton⁠ + cpanfile⁠

You can define a file called cpanfile that list all CPAN dependencies of your application, each line represents one dependency, here's an example:

$ cat cpanfile
requires 'Mojolicious';
⁠Using carton⁠ + cpanfile.snapshot

After invokin git push or tsuru app-deploy, tsuru will receive your code and tell the platform to install all the depencies using carton install --cached --deployment.

Tag summary

Content type

Image

Digest

sha256:3859b1721…

Size

55.9 MB

Last updated

4 months ago

docker pull tsuru/perl