Kinsue opened a new issue, #615:
URL: https://github.com/apache/apisix-docker/issues/615

   The Dockerfiles for Debian, Ubuntu, and RedHat images currently leave 
several unnecessary artifacts inside the final image. These artifacts increase 
the final image size and can be safely removed during the build process.
   
   ## Debian / Ubuntu
   - Based on Docker's layered filesystem, cross-layer deletion cannot release 
any physical disk space and should be avoided.
   - Recursive permission operations on files trigger a copy-up 
(https://github.com/docker/for-linux/issues/964). This operation copies all 
files involved in the permission changes to a new layer.
   - Package manager cache files exist in the image and can be optimized.
   ## RedHat
   - DNF cache databases and unnecessary documentation exist in the image.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to