Sort of, except you really want it to be done at the end of the current
request. (auto-cleanup doesn't seem to do that, setting it to 0 turns it
off).
When you're building a docker image you really want to make sure the end of
every command only the things the NEED are in the filesystem as a
Something like cpanm's work directory auto-cleanup mechanism?
https://metacpan.org/pod/distribution/App-cpanminus/
lib/App/cpanminus/fatscript.pm#-auto-cleanup
On Thu, May 25, 2017 at 7:20 AM, Simon Proctor
wrote:
> So I'm playing around with Docker files (Perl 5 ATM)
So I'm playing around with Docker files (Perl 5 ATM) and one thing I'm
getting quite into is trying to keep them small. An important part of this
is deleting any extraneous caching info built up during the build,
preferably as part of the RUN step to get intermediate layers small.
(So with Perl5