The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::Perlambda::CLI::Dist - Make a zip archive for Lambda function

SYNOPSIS

    $ perlambda dist [-c|--clean] [--container=<container-tag-version>] <source path> <dist zip file name>

DESCRIPTION

This command makes a zip archive for Lambda function.

This command uses Docker to make a zip archive. Please see also: https://hub.docker.com/r/moznion/lambda-perl-layer-foundation/.

COMMANDLINE OPTIONS

-c|--clean (Optional)

Default: false

If this parameter is active, this command removes a pre-built zip archive and a vendor directory (i.e. local/) before making a zip archive.

--container (Optional)

Default: version of running perl

The version of perl runtime. This value will be used on specifying the container version for making a zip. You have to specify this parameter as 5_xx (e.g. 5_26 and 5.28).

REQUIREMENTS

  • Perl 5.26 or later

  • Docker

LICENSE

Copyright (C) moznion.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

moznion <moznion@gmail.com>