MAKEOPTS="-j5" carton install --deployment
---> Running in d1d2302e2098
Installing modules using /home/ndn/cpanfile (deployment mode)
Successfully installed Net-Statsd-0.12
...
Successfully installed Scalar-List-Utils-1.49 (upgraded from 1.41)
From README.md:
This will look at the cpanfile.snapshot and install the exact same versions of the dependencies into local, and now your application is ready to run.
The way I understand this, carton install --deployment would never upgrade any dependencies, and use the version indicated in the snapshot instead (this is also consistent with how Ruby's bundler would act in a such a situation). Only carton update <dependency name> would cause an upgrade of the dependency.
Software versions:
carton v1.0.34
cpanm (App::cpanminus) version 1.7044 (/usr/local/perlbrew/bin/cpanm)
perl version 5.022002 (/usr/local/perlbrew/perls/perl-5.22.2/bin/perl)
From README.md:
The way I understand this,
carton install --deployment
would never upgrade any dependencies, and use the version indicated in the snapshot instead (this is also consistent with how Ruby'sbundler
would act in a such a situation). Onlycarton update <dependency name>
would cause an upgrade of the dependency.Software versions: