I was thinking more about 1) but I am not a 'tar' master. Maybe you can write a simple jshell script that uses the java libs and tweaks the tarbar
Enrico Il dom 18 ago 2019, 22:10 <[email protected]> ha scritto: > 4. Squash Docker image layers? This approach requires additional tool ( > https://github.com/jwilder/docker-squash requires sudo) and understanding > of what layers to squash and what layers to keep as is (for optimization of > Docker image delivery - some base layers are taken from image vendor and > are not changed, so I need to keep them to avoid re-delivering of the whole > Docker image). I'm not sure about impact of squashing of Docker layers on > Docker build cache and on the whole time required for building (if TAR > checksum didn't change then rebuilding of Docker image is faster due to > Docker build cache). > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
